Week 7 Quiz True or False Flashcards
By default, event handlers are set to the bubbling phase.
TRUE
In JavaScript, Array inherits from Object.
TRUE
In JavaScript, a closure is an inner function that has access to its outer function’s scope, even after the outer function has returned.
TRUE
You are allowed to have more than one script tag on the page for multiple JavaScript references.
TRUE
Null is not a data type of JavaScript
FALSE
JavaScript Supports dynamic typing
TRUE
A String can be made using either the single or double quotes characters.
TRUE
The default value returned from a function is undefined.
TRUE
An object is essentially a collection of key/value pairs.
TRUE
A callback function is a function that is an argument of another function that is typically executed before returning.
TRUE
The number 1, is considered truthy
TRUE
AJAX stands for Asynchronous JSON and XML
FALSE
Asynchronous JavaScript And XML
JS array method
array.push adds an element to the beginning of an array.
FALSE
Global variables
If you don’t declare a variable within a function, then it will be considered a global variable (assume non-strict mode).
TRUE
JS code execution
JavaScript code is compiled before being delivered to the browser (or other platform).
FALSE