Question 1: JavaScript is ECMAScript
Question 2: JavaScript written under which of the following tag?
Question 3: A variable in JavaScript declared with which of the following keyword?
Question 4: Which of the followings are primitive data types in JavaScript?
Question 5: Which of the following is NOT a JavaScript object?
Question 6: Which of the following is NOT a correct way of declaring an array in JavaScript?
Question 7: What is null in JavaScript?
Question 8: Which of the following is a valid JavaScript function?
Question 9: Which of the following object represent parameters of current function inside any function?
Question 10: A function can be assigned to a variable in JavaScript.
Question 11: Which of the following is an example of anonymous function in JavaScript?
Question 12: What will 1 == "1"
return?
Question 13: What is eval()
in JavaScript?
Question 14: How to handle error in JavaScript?
Question 15: How to apply strict mode in JavaScript?
Question 16: A variable declared without var keyword inside a function will become _______ variable.
Question 17: Which of the following is not a valid keyword in JavaScript?
Question 18: What will be the output of the following JavaScript code?
x = 1;
console.log('x = ' + x);
var x;
Question 19: What will be the output of the following JavaScript code?
for(var x = 1; x < 5; x++)
console.log(x);
Question 20: What will be the output of the following JavaScript code?
var x = 0;
do{
console.log(x)
}while(x > 0)