Javascript Functions

 Are first-class objects. As a result, can be assigned to variables, can be given as arguments. Can be declared by name of by using function expression. () operator executes the function. All functions have a default property named “parameters”. It is an “array-like” object where all given parameters can be reached. Parameters are passed by … More Javascript Functions

Javascript Objects and Classes

In Javascript, there are no class declarations in JavaScript. Javascript objects are dynamic. At runtime, new properties and methods van be add and removed using “delete” operator. All Javascript properties are public. Accessing non-existing properties does not throws an exception but returns “undefined”. Properties can be used in array form, like myObject[myProperty]. Property notation is … More Javascript Objects and Classes