You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
undefined is the absence of a definition, null is absence of a value
arrays and functions are objects (underneath the hood)
2 distinctions
primitive: data that only represents a single value
number
boolean
string
undefined
null
symbol
non-primitive: doesn't contain value directly, it has a reference to where object is held
object
array
function
primitives get complicated because they can be used like objects, for example: true.toString() calls a wrapper object like this: Boolean(true) before executing code