(also know as lies and/or alternative facts)
- setImmediate - doesn't set anything immediately, waits for a tick before executing
- setTimeout(fn, n) - never sets the timeout to exactly n
- Math.random() - computers cannot generate random numbers
- Promise - is a lie when rejected
- Array.reduce - accumulates, does not reduce (via @sbmadhav)
- const - isn't constant, can be mutated (via adamwknox)
- typeof NaN === 'number' 🙄 (via @delapouite)
- continue - stops execution of current block (via @vdanchenkov)
- setState - doesn't set, but enqueues a state change
- createElement - creates a description of the actual element
- instance::render() - doesn't actually render
- componentWillMount - component might not mount
- react (!) - doesn't react immediately, schedules changes instead
- babel - speaks only one language (though understands many)
- rxjs - rx implies prescription, not subscription
- javascript - isn't a scripting language for java, or related to java in any way.
- isomorphic - is a word used to compare two different, but similar structures; not to say that one structure works in multiple places (via @gaearon)
yarn upgrade [package@version]
downgrades, does not upgrade if the specified version is older than the one installed