Closed arv closed 8 years ago
https://github.com/sebmarkbage/ecmascript-rest-spread/blob/master/Spec.md#spread-properties
This add support for ... in object literals which is currently at stage 2.
var x = {a: 1}; var y = {...a, b: 2}; // {a: 1, b: 2}
@johnjbarton PTAL
@johnjbarton ping?
Sorry, looks like my email forwarding is busted.
LGTM I guess this also improves jsx usability?
https://github.com/sebmarkbage/ecmascript-rest-spread/blob/master/Spec.md#spread-properties
This add support for ... in object literals which is currently at stage 2.