Data Type interview question inJavaScript typeof [] #shorts #javascript

preview_player
Показать описание
Data Type interview question inJavaScript typeof [] #shorts #javascript

Explanation:
- typeof [] in JavaScript is object

The set of types in the JavaScript language consists of primitive values and objects.
Primitive values (immutable datum represented directly at the lowest level of the language):
- Boolean type
- Null type
- Undefined type
- Number type
- BigInt type
- String type
- Symbol type
Objects (collections of properties)

JavaScript interview questions
Рекомендации по теме