if else and else if JavaScript
Javascript allows to execute block of code(statements) in program on the basis of different conditions. It is also called decision…
Javascript allows to execute block of code(statements) in program on the basis of different conditions. It is also called decision…
Javascript provides number of methods to get date time and set date time. Date() Creates date object and returns current…
Date object in javascript, is used to get current date time and also allows to creates or sets date time.…
To make mathematical calculation easier on numbers, javascript provides Math object. Its all properties and methods are static means it…
Operators are used to perform different types of operation on data (variable data or data itself).JavaScript provide different types of…
Variable holds value, and this value is assigned to a variable using assignment operator (= equals to). Assignment operator assigns…
With numbers various mathematical operation can be performed, Javascript provides different operators to work with numbers. They are as follows…
Array is a set of similar values stored in a contiguous memory location. Array values are accessed by its index.…
Object in javascript is a non-primitive data type, used to hold multiple name-values as properties. Object property is a name:value…
Symbol is a primitive data type, introduced in ES6 version, which creates an immutable and unique symbol. It is used…