Use these weird tricks to remember which words are American English and which are British English. Linguists HATE them!
A cast expression like
if the types don't match.
as operator doesn't throw
and defaults to
is operator doesn't throw
Both are guesses. Assume is weaker (little or no evidence), presume is stronger (reasonable evidence). But how to remember which is which?
shift() removes the first array item,
unshift() prepends items to the array.
But how to remember which is which?
apply()) for an array,
call()) for commas.
Reflect.apply() is better.
Use this one weird trick to remember –
Markdown consultants HATE it!
Spoiler: it's the former since it looks like a function call.