MCQs
Arrays have a pop() method (it works with push()) that reduces the length of an array by 1 but also returns the value of the deleted element.
The given pattern is applied on the text given in the parenthesis.
The fundamental rule of lexical scoping is that the JavaScript functions are executed using the scope chain that was in effect when they were defined.
You can always omit a pair of empty parentheses in a constructor invocation.
If the return statement does not have an associated expression, it returns the undefined value.
None
Before each iteration, the interpreter evaluates the variable expression and assigns the name of the property (a string value) to it.
The debugger statement normally does nothing. If, however, a debugger program is available and is running, then an implementation may (but is not required to) perform some kind of debugging action. In practice, this statement acts like a breakpoint: execution of JavaScript code stops and you can use the debugger to print variable's values.
When using square bracket notation, the expression inside the square brackets must evaluate to a sting or a value that can be converted to a string.