3 ms·
If you miss the parens, we can fix it: ({div, ol, li} = React.DOM) # global exports (div null, (ol null, (for result, index in @results
by pygy_ 13y ago
If you miss the parens, we can fix it:
({div, ol, li} = React.DOM) # global exports
(div null,
(ol null,
(for result, index in @results
({a, span} = React.DOM) # local exports
(key = (doSomeLookup result, index))
(href = (otherLookup key))
(li {key}, [span(null, "Hello "), a({href}, "world")])))
However, assignments and binary operators are still infix, and comas are needed.
=^_^=