switch JavaScript

switch allows to executes different cases based on matched expression or condition. Syntax Example break keyword In switch, case always…

Math Object Javascript

To make mathematical calculation easier on numbers, javascript provides Math object. Its all properties and methods are static means it…

Assignment Operator

Variable holds value, and this value is assigned to a variable using assignment operator (= equals to). Assignment operator assigns…

Array javascript

Array is a set of similar values stored in a contiguous memory location. Array values are accessed by its index.…

Object – javascript

Object in javascript is a non-primitive data type, used to hold multiple name-values as properties. Object property is a name:value…