Sometimes with ES2015 I want all my args to be an object and use (de)structuring--pseudo named arguments. const add = ({x, y}) => x + y
@soutar @ryanflorence @markfunk the syntax that you'd use to express it in other languages is ambiguous and requires runtime semantics
-
-
@soutar@ryanflorence@markfunk the cons are outweighed by the fact you can just use destructuring params and an object... so no pointThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 