Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeLanguages
JavaScript
ecma11
The typeof Operator

ECMAScript Language Specification, Version 11
12.5.5. The typeof Operator

Read this Section of the Authoritative Specification

https://www.ecma-international.org/ecma-262/11.0/index.html#sec-typeof-operator

4 Documented Misconceptions

Misconception
ClassDefinesType
The type of an object is equivalent to the type defined by its class definition
Misconception
NullAndUndefinedAreTheSame
The values null and undefined are the same
Misconception
TypeofArrayIsArray
The typeof operator applied on an array returns 'array'
Misconception
TypeofNullIsNull
The value null is of type 'null'

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors