🚧 under construction
JS ⟩ value ⟩ type
🚧
there is no type associated with variable declaration❗
The operands of comparison operator may be of any type.
main topics
type name
custom type name
type terms
falsy
statically typed
dynamically typed - JS is a dynamically typed language.
value types
primitive
String / Number / Boolean
object
class / Array / Set / Map
helper functions
type functions
typeof determines the type of a value. (👉 type name)
typeName()
TypeScript is a JavaScript dialect that checks types.
Eloquent JavaScript > Types
typeof
instanceof
type conversion table
what is "type" in JS? 🚧
how to determine a value's "type"? 🚧
Last updated 2 years ago
Was this helpful?