Correct Answer: 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
What would be printed to the console? function foo(arg) { console.log(Math.pow(this, arg)) } setTimeout(foo.bind(5, 2), 0); console.log('Done');
var x = 1.0; typeof x;
var myObject = { foo: 'bar', func: function() { var self = this; console.log('outer func: this.foo = ' + this.foo); console.log('outer func: self.foo = ' + self.foo); (function() { console.log('inner func: this.foo = ' + this.foo); console.log('inner func: self.foo = ' + self.foo); }()); } }; myObject.func();
What is the type of n? var n = 1121212.233333333; typeof n;
Which statement about hoisted declarations in Javascript is true? If a value is assigned to a variable during the declaration (example: var x = 10;) then ...
Which statement is incorrect regarding HTML5 Web Worker?
What's the output? /e/.exec('The best things in life are free!');
What's the output? if(typeof(Storage)!=='undefined') { localStorage.age=5; sessionStorage.age=5; alert(localStorage.age + sessionStorage.age); } else { alert('Sorry, your browser does not support web storage...'); }
What's the output? var result = (function(a) { return a*a; }(5.5)); alert(result);
Which is not a valid JavaScript Assignment Operator?