JavaScript Objects
JavaScript Boolean
JavaScript Boolean is an object that represents value in two states: true or false. You can create the JavaScript Boolean object by Boolean() constructor as…
JavaScript Number
The JavaScript number object enables you to represent a numeric value. It may be integer or floating-point. JavaScript number object follows IEEE standard to represent…
JavaScript Math
The JavaScript math object provides several constants and methods to perform mathematical operation. Unlike date object, it doesn’t have constructors. Math.sqrt(n) The JavaScript math.sqrt(n) method…
JavaScript Date
The JavaScript date object can be used to get year, month and day. You can display a timer on the webpage by the help of…
JavaScript String
The JavaScript string is an object that represents a sequence of characters. There are 2 ways to create string in JavaScript By string literal By…
JavaScript Array
JavaScript array is an object that represents a collection of similar type of elements. There are 3 ways to construct array in JavaScript By array…
JavaScript Objects
A javaScript object is an entity having state and behavior (properties and method). For example: car, pen, bike, chair, glass, keyboard, monitor etc. JavaScript is…