Which is not a WebSocket event?
Which property of an event specifies the type of the event?
Which of the following can render HTML?
set.add("pam");
set.add("pom");
var ans = set.values();
document.writeln(ans.next().value);
In strict mode, what does the this keyword refer to inside a function?
What is the output of the following JavaScript code?
document.write("1 plus 1 is " + 1 + 1);
What will the output of the following JavaScript code be?
document.writeln("
navigator.appCodeName: " + navigator.appCodeName);
What is the process of converting an object's state to a string, which can later be restored?
What is the purpose of the window.location object in JavaScript?
What will happen to the given array when we apply the shift()
method to it?
const cities = ["Ghaziabad", "Agra", "Meerut", "Rishikesh"];
cities.shift();