JavaScript Switch The JavaScript switch statement is used to execute one code from multiple expressions. It is just like else if statement…
document
-
-
JavaScript this keyword The this keyword is a reference variable that refers to the current object. Here, we will learn about this…
-
JavaScript Operators JavaScript operators are symbols that are used to perform operations on operands. For example: var sum=10+20; Here, + is the…
-
JavaScript Strict Mode Being a scripting language, sometimes the JavaScript code displays the correct result even it has some errors. To overcome…
-
JavaScript Math The JavaScript math object provides several constants and methods to perform mathematical operation. Unlike date object, it doesn’t have constructors.…
-
JavaScript Number Object The JavaScript number object enables you to represent a numeric value. It may be integer or floating-point. JavaScript number…
-
JavaScript Objects A javaScript object is an entity having state and behavior (properties and method). For example: car, pen, bike, chair, glass,…
-
JavaScript Functions JavaScript functions are used to perform operations. We can call JavaScript function many times to reuse the code. Advantage of…
-
JavaScript Global Variable A JavaScript global variable is declared outside the function or declared with window object. It can be accessed from…
-
JavaScript Hoisting Hoisting is a mechanism in JavaScript that moves the declaration of variables and functions at the top. So, in JavaScript…