Logo

Javascript Questions Set 70:

Quiz Mode

What type of scope is present in JavaScript?

1
2
3
4

Solution:

Which object is used to post data to an external process, such as savePerfData?

1
2
3
4

Solution:

What is the command to run Node.js programs?

1
2
3
4

Solution:

What is the method used to create an element in the HTML DOM?

1
2
3
4

Solution:

What is the output of the following JavaScript code?


document.write("6 plus 5 is " + 6 + 5);

1
2
3
4

Solution:

What does the Date object in JavaScript do?

1
2
3
4

Solution:

What is the purpose of the simple mode in a JavaScript minifier?

1
2
3
4

Solution:

In the global execution context (outside of any function), this refers to the global object irrespective of being in strict mode or not.

1
2
3
4

Solution:

What are scorched-earth optimizations?

1
2
3
4

Solution:

What is the fundamental rule of lexical scoping?

1
2
3
4

Solution: