Correct Answer: Creates an array of two elements with values 4 and 8
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
Following statement evaluate to? 12 === ''12''
What is the index of 'horse' in the array below? [23, false, 'cat', 'horse', 0]
Suppose we have: var array = new Array(); var x = 'Value'; How can you add a value to an array in Vanilla Javascript?
In the expression y = '5' + 5;
Javascript is designed for the following purpose__________
Which event can detect when the user highlights text within a text or textarea object?
Which browser support a script tag's async attribute?
Which is true for the code below? var object0 = {}; Object.defineProperty(object0, 'prop0', { value : 1, enumerable:false, configurable : true }); Object.defineProperty(object0, 'prop1', { value : 2, enumerable:true, configurable : false }); Object.defineProperty(object0, 'prop2', { value : 3 }); object0.prop3 = 4;
Final value of the variable apt? var apt=2; apt=apt<<2;
Which is not a valid HTML event?