Which type of variable among global and local, takes precedence over other if names are same?
Which built-in method adds one or more elements to the end of an array and returns the new length of the array?
Which built-in method returns the calling string value converted to upper case?
Give an example of closure?
What is purpose of onerror event handler in javascript?
What are disadvantages of using javascript?
Which built-in method returns the index within the calling string object of the first occurrence of the specified value?
Which built-in method returns the string representation of the number’s value?
What typeof returns for a null value?
How do you include a comment in javascript?
How to convert “20” to number in javascript?
Create an array in javascript with a list of 4 colors, assign that array to the variable, ‘colors’.
Is javascript case sensitive?
Create a new javascript object with the keys of “fname” equal to your first name, “lname” equal to your last name, and “fcolors” equal to and array of 3 of your favorite colors. Assign this object to a variable called “me” and log it to the console.
How would you organize your javascript code?