1.
What is the output of the following JavaScript code:
"i'm a lasagna hog".split("").reverse().join("");
2.
What is the value of foo.length in the following JavaScript code
1. var foo = [];
2. foo.push(1);
3. foo.push(2);
4. foo.push(3);
3.
In JavaScript, what is the difference between == and === operators?
4.
Which of the following functions evaluates JavaScript code that is represented as a string?
5.
In JavaScript, which of the following is used to create a multiline comment?
6.
In JavaScript, which of the following functions is used to return the larger of the two numbers x and y?
7.
In JavaScript, which of the following commands is used to print Hello World on the screen?
8.
In JavaScript, which of the following statements is used to insert a comment having more than one line?
9.
In JavaScript, which of these methods is used to round the number 11.49 to its nearest integer?
10.
In JavaScript, which of these prompts a user with a message and requests user input?