I gather a lot of questions about the JS Foundation, and share with you the success of the interview
What are the Q1,javascript data types?
Don't underestimate the problem oh, this question is very humble but difficult to answer
The answer I recommend is from the essence of javacript language.
The simple types of JavaScript include numbers, strings, Boolean values (True and false), null values, and undefined values. All other values are objects. Numbers, strings, and Boolean "seemingly" objects because they have methods, but they are immutable. The object in JavaScript is a mutable key-value collection (keyed collections). In JavaScript, an array is an object, a function is an object, a regular expression is an object, and of course an object is naturally an object. Objects are containers for properties, where each property has a name and value. The name of the property can be any string, including an empty string. The property value can be any value other than the undefined value.
The objects in JavaScript are untyped (silent: or JavaScript has only one type, which is the object) (Class-free). It has no constraints on the name and value of the new property. objects are suitable for collecting and managing data. Objects can contain other objects, so they can be easily represented as a tree or graphic structure.
JavaScript includes a prototype chain feature that allows an object to inherit properties from another object. Using it correctly can reduce the time and memory consumption of object initialization.
JavaScript interview Guide One (js data type, = = and = = = difference)