Correct Answer: and
Explanation:
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
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;
Value of x? var y = '100'; var x = + y + 10;
Which String prototype method takes a regular expression?
What's the output? console.log(1 + '1' - 1);
Evaluate: '10' - (17).toString()
What is the super function in the class context?
What will be logged in the console? console.log(String.raw'Hello\nWorld!')
What's the output? var odnum = false; function calculateRes(num) { if (num % 5 == 0) { odnum = false; } else { odnum = true; } }; calculateRes(6);
Which code will create the Boolean object with an initial value of true?
Which will change the color of a paragraph’s text to blue when a user hovers over it, and reset it back to black when the user hovers out?
JavaScript MCQs | Topic-wise