JavaScript is a most popular programming language of the word. JavaScript is a lightweight, interpreted and object oriented language.
Popular Post: JavaScript
In HTML, You can write JavaScript code between script tag or into separate .js file to execute JavaScript code.
In JavaScript, you can display data in different ways using innerHTML, document.write(), window.alert() & console.log().
In JavaScript, A program is a list of instructions to be executed by a computer are called statements.
The syntax of JavaScript is the set of rules that define a correctly structured JavaScript program.
JavaScript comments can be used to explain JavaScript code. Single line comments start with //. Multi-line comments start with /* and end with */.
In JavaScript, Any variable acts like a containers for storing data. Declare a JavaScript Variable using var, let, const keywords.
In JavaScript, Variables defined with let must be Declared before use. Variables defined with let cannot be Redeclared.
In JavaScript, The const keyword was introduced in ES6. Variables defined with const cannot be Redeclared or Reassigned.
In JavaScript, Using operators we can perform some most of the mathematical calculations like addition (+), multiplication (*).
In JavaScript, The Arithmetic Operators are used to perform some mathematical operations like addition, subtraction, division, multiplication.
In JavaScript, Assignment operators assign values to variables. Use the assignment operator ( = ) to assign a value to a variable.
In JavaScript, variables can hold different data types: Number, String, Boolean, Undefined and Null.
A JavaScript function is a block of code which takes in various arguments to perform a particular task.
In JavaScript, an object is a standalone entity having properties and method. For example: bike is an object with property (bike name) and method start.
HTML allows event handler attributes, with JavaScript code, to be added to HTML elements.
String in JavaScript is a collection of characters. String is a collection of 16 bit Unicode characters.
In this tutorial, you will learn about String methods and properties available in JavaScript. For example, the slice(), length, replace() etc.
When you want to know whether a pattern is found, and also know its index within a string use indexOf(), lastIndexOf(), startsWith() & endsWith().
In this tutorial, you will learn about JavaScript template literal, which allows you to work with a string template.
In JavaScript, The Number is a primitive data type used for positive or negative integer, float, binary, octal, hexadecimal & exponential values.
Number is a primitive wrapper object used to represent and manipulate numbers. some number methods are toString(), toExponential() & toFixed().
An Array in JavaScript is an indexed collection of values of various datatypes. Array is a zero index based.
In JavaScript, some methods are used to perform operations on Array elements like toString(), reverse(), pop(), push() and splice.
In JavaScript, The sort() method sorts the elements of an array alphabetically and returns the sorted array.