Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
Object
Array
Dictionary
Set
Undefined
null
undefined
None of the above
parseInt("10");
10.toInt();
10.toNumber();
Number("10");
var myObj = {};
let myObj = {key1: "value1", key2: "value2"};
const myObj = {key1: "value1", key2: "value2"};
myObj = {key1: "value1", key2: "value2"};
var myVar = 1;
myVar = 1;
let myVar = 1;
const myVar = 1;
function myFunc() {}
let myFunc = function() {};
const myFunc = () => {};
All of the above are valid
var myVar;
let myVar;
const myVar;
All of the above
var myConst = 1;
let myConst = 1;
const myConst = 1;
const = 1;
const MY_CONST = "Hello";
const myConst = "World";
var myConst = "JavaScript";
let myConst = "Programming";
Number
String
Boolean