-
Notifications
You must be signed in to change notification settings - Fork 48
glossary
A group of adjacent lines that are indented the same amount, further than the previous, controlling line.
The official file extension.
To be defined and not null
.
To close a block by indenting fewer on the following line.
An inline block generated when an expression immediately follows ->
, try
etc.
The syntax that allows you to write f x
instead of f(x)
.
→ dedent
To guard against non-existent or non-callable values by transforming into an if
expression. E.g.:
-
o?.p
→o.p if o?
-
f? x
→f x if typeof f == 'function'
To expand with ...
, or the operator itself.
The symbol used to be the actual splat (*
from Ruby), later changed but the name stuck.
We don't call it spread/rest a la ES6 as it does more, working also on non-trailing positions ((...a, b) ->
).
A mysteriously undocumented keyword that explicitly creates an implicit block.