JavaScript private properties
There is no reserved keyword for private. A private access modifier is the principle of object-oriented programming to make properties and methods only accessible inside… Read More »JavaScript private properties
There is no reserved keyword for private. A private access modifier is the principle of object-oriented programming to make properties and methods only accessible inside… Read More »JavaScript private properties
The Javascript standard defines true and false values using a boolean data type. Javascript booleans may be true, false, or (in certain contexts) a value… Read More »JavaScript true false | Boolean Basics
JavaScript object literal is a comma-separated list of name-value pairs inside of curly braces. Object literals encapsulate data, enclosing it in a tidy package. The… Read More »JavaScript object literal | Basics
JavaScript has three types of functions. A function should take some input and return an output where there is some logic between the input and… Read More »Types of functions in JavaScript | Basics
JavaScript empty statement is used to provide no statement, although the JavaScript syntax would expect one. The empty statement is a semicolon (;) indicating that… Read More »JavaScript empty statement | Basics
You can use the Map() constructor to map initialize with values in JavaScript. You have to pass arrays of key-value pairs, where the first element… Read More »JavaScript map initialize with values | Code
JavaScript has a Boolean data type and a boolean variable value is one that can either be TRUE or FALSE. The boolean function returns the… Read More »JavaScript Boolean, Boolean() | Basics
JavaScript is a prototype-oriented, not an object-oriented programing language. So JavaScript doesn’t have an abstract class concept. If you would like a class that cannot… Read More »JavaScript abstract class | Basics
A JavaScript block-scoped means that the variable defined within a block will not be accessible from outside the block. Variables declared inside a { }… Read More »Block scope JavaScript | Basics
JavaScript Number is a primitive data type that stores numeric values. In JavaScript don’t need to declare for integer or floating values using int, float,… Read More »JavaScript Number Object | Basics