My favorite new JS features: compact object literals, destructuring, rest, spread `(x) => x*2;`. What are your favorites? #JavaScript
-
-
Replying to @_ericelliott
@_ericelliott You once shared technique to merge objects using spread. !! That was sexy. Can u share once more .. I lost it thoug :(1 reply 0 retweets 1 like -
Replying to @azharuddin31
@azharuddin31 {...obj1, ...obj2} object spread requires babel and you'll want babel-eslint to avoid lint errors. Obj spread is es7.1 reply 0 retweets 1 like -
Replying to @_ericelliott
@_ericelliott@azharuddin31 we handle object spread natively now. babel-eslint no longer required for that.2 replies 2 retweets 4 likes -
Replying to @geteslint
@geteslint would be awesome to support type annotations, like@flowtype and@typescriptlang use1 reply 0 retweets 0 likes -
Replying to @valorkin
@valorkin@flowtype@typescriptlang we don't have the bandwidth to implement natively, but you can swap in a parser that does (Babel?)1 reply 0 retweets 0 likes -
Replying to @geteslint
@geteslint@flowtype@typescriptlang last time I checked it was simply ignoring type annotations1 reply 0 retweets 1 like
@valorkin Nope, they lint. It hacks ESLint to hell and back to make it work: https://github.com/babel/babel-eslint/blob/master/index.js … @geteslint @flowtype @typescriptlang
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 