Selectors in jQuery starts with __().
Which function is a synonym for on()
?
What is the result of the expression Number("1") - 1 == 0
?
Redux maintains the state of an entire application in a single immutable state tree.
Will the following JavaScript code work?
var squareOfTen = (function(x) {return x*x;}(10));
What is the purpose of the timing
property in the window.performance object?
What will be the output?
var object = { A: 1, B: 2, C: 3, D: 4, } object.E = function(){console.log(object.A)}; console.log(object.E());
When a user views a web page that contains JavaScript, which machine actually executes the script?
What is the purpose of the PerformanceTiming.navigationStart property?
Predict the output of the following code:
(function() {
console.log('this is the start');
setTimeout(function cb() {
console.log('Callback 1: this is a message from the callback');
});
console.log('this is just a message');
setTimeout(function cb1() {
console.log('Callback 2: this is a message from the callback');
}, 0);
console.log('this is the end');
})();