r/javascript • • Mar 31 '17

ES2018 First Look - it changes everything

https://www.youtube.com/watch?v=s-G_RZ4RJLU
464 Upvotes

120 comments sorted by

View all comments

Show parent comments

5

u/Daniel15 React FTW Apr 01 '17
const doubleBy2 = x => x * 2;

Is identical to your doubleBy2 function.

2

u/GBcrazy Apr 01 '17

Actually you are right, what the hell i was thinking