A value that when coerced to a Boolean
equals true
.
A value that when coerced to a Boolean
equals false
.
An object resembling a host object, meaning an object that passes one of the following two assertions:
typeof
result of
“object” or “function”
along with “truthiness”;
typeof
result of
“unknown”.
An object resembling an array, meaning
a truthy
host-like object
with a numeric length
property.
An object resembling a node, meaning
a truthy
host-like object
with a numeric nodeType
property.
A parsed tree representing the current document; interfaced with via the DOM; often confused for “the DOM”.
document ----doctype ----documentElement --------head ------------title ----------------text --------body ------------div ----------------text
An object representing a
node-like object's
recursive childNodes
; a tree that's a
branch of the
document tree.
body ----div --------text