Which property is used to specify the key code when a key is pressed?
What is the significance of the JavaScript logging library loglevel?
What is Microsoft's own proprietary client-side storage?
2
What is the output of the following code?
const num = [1,2,3,1,2,3,1]
const res = num.lastIndexOf(1)
console.log(res)
In the given HTML code, the this
keyword refers to:
1
2
What is the vulnerability of XHR (XMLHttpRequest) communications?
1
3
4
What is the purpose of the 'this' keyword in JavaScript?
2
3
4
What does the pop() method do in an array?
1
3
4
The Math.random()
function returns _____
1
2
3
4
Which of the following JavaScript syntax is correct to set the innerHTML of an HTML element?
2
3
4