1.
What is the output of the following JavaScript code:
function console() {
    return func;
    func = 10;

    function func() {}
    var func = 11;
}
alert(typeof console());
2.
What is the output of the following JavaScript code:

var func = function func() {
    console.log(func === func);
};
func();
3.
What is the output of the following JavaScript code:
(true + false) > 2 + true;
4.
What is the output of the following JavaScript code:
String('Hello') === 'Hello';
5.
What is the output of the following JavaScript code:
NaN === NaN;
6.
What is the output of the following JavaScript code:
7.
In JavaScript, which of the following ways of instantiating a date is incorrect?
8.
Which of the following statements about JavaScript is incorrect?
9.
What is the output of the following JavaScript code:

var a = 5;

function one() {
    a = 6;
}

function two() {
    alert(a);
}
two();
10.
What is the output of the following JavaScript code:

var a = (function a() {
        return '1';
    },
    function b() {
        return 2;
    })();
alert(typeof a);