First page Back Continue Last page Overview Graphics

Wart clarifications: Internal“types”

Function vs Callable

typeof f === 'function' → f is Callable

({}).toString.call(f) === '[object Function]' → f is a Function

Non-functions may not claim to be functions

Non-arrays, non-dates, etc… Implied invariants

Non-array arguments inherits from Array.prototype.

Dates try ISO format first