// ES7 now let o = {a:1, b:2}; let {a, ...r} = o; console.log(a, r); // 1 { b: 2 } // ES7 please? let {...} = o; console.log(a, b); // 1 2
Replying to @JFSIII
@JFSIII @angustweets You want PHP’s `extract()` in ES7?! It’s a footgun, security-wise.
2:15 PM - 9 Apr 2015
0 replies
0 retweets
1 like
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.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.