Correct Answer: var myBol =new Boolean()
Explanation:
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
JavaScript Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More JavaScript MCQ Questions
What's the output? var odnum = false; function calculateRes(num) { if (num % 5 == 0) { odnum = false; } else { odnum = true; } }; calculateRes(6);
What will be logged in the console? console.log(String.raw'Hello\nWorld!')
What is the super function in the class context?
Which are true about numbers in JavaScript?
What will the following code snippet log in the console? let arr = [1, 2, 3]; for (i = 0; i < arr.length; arr[i++] = 0) ; console.log(arr);
Which String prototype method takes a regular expression?
Value of x? var y = '100'; var x = + y + 10;
var x = {}; var foo = function () { this.hello = 'Hi'; return this; }; x.bar = foo; What is the value of the following code: x.bar().bar().hello;
Which is not a reserved word in the language?
How does JavaScript interpret numeric constants outside of strict mode?