From some source, I have learned that everything in JavaScript is an object. Then why does the typeof operator return function for Object?
console.log(typeof Object);
//function
From some source, I have learned that everything in JavaScript is an object. Then why does the typeof operator return function for Object?
console.log(typeof Object);
//function