Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
There is no difference between null and undefined.
null is a value that represents an empty object reference, while undefined is a value that represents an uninitialized variable.
undefined is a value that represents an empty object reference, while null is a value that represents an uninitialized variable.
null and undefined both represent an uninitialized variable.
There is no difference between a function declaration and a function expression.
A function declaration is hoisted to the top of the scope, while a function expression is not hoisted.
A function expression is hoisted to the top of the scope, while a function declaration is not hoisted.
A function declaration can only be used inside of an object, while a function expression can be used anywhere.
The global object
The parent object
The current object
The child object
string
number
boolean
object
Deletes a variable
Deletes a property of an object
Deletes an element from an array
Deletes a function
What is the output of the following code?
var x = 5;var y = 2;console.log(x % y);
2
2.5
3
1
Not a Name
Not a Number
Not a Null
Not a Boolean
console.log(3 + "2");
5
32
6
23
console.log(3 === "3");
0
NaN
null
console.log("2" * "3");