Categorizing values: typeof, instanceof and beyond

Categorizing values: typeof, instanceof and beyond

You have probably heard of two common ways of categorizing values in JavaScript: typeof and instanceof. In this talk, we first review the basics of this kind of categorization and then move on to quirks and advanced topics: primitive values versus objects; typeof and instanceof (and their quirks); the internal property [[Class]]; the odd nature of the prototypes of built-in constructors; and more.

5592487d2231fbe06ed2ac80d92c8f20?s=128

Axel Rauschmayer

July 06, 2013
Tweet