๐ง under construction
Last updated 1 year ago
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
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"? ๐ง
typeof determines the type of a value. ( type name)