Which do you think is more readable?
function hello() {
// ...
}
or
var hello = () => {
// ...
}
#JavaScript #twitterpoll
-
-
Replying to @michaelbenin
@mjackson it's not about readability, it's about better error logs.1 reply 0 retweets 0 likes -
Replying to @michaelbenin
@michaelbenin@mjackson in es6 you get a name on most anonymous functions right? Even babel adds it for you....1 reply 0 retweets 0 likes -
Replying to @xjamundx
@xjamundx ya, babel will add them for you. but there's no guarantee native implementations will, afaik.@michaelbenin1 reply 0 retweets 0 likes -
-
Replying to @xjamundx
@xjamundx@mjackson@michaelbenin Actually there's talk of that possibly being removed or changed slightly since it's not web compatible2 replies 0 retweets 0 likes
@xjamundx @mjackson @michaelbenin https://github.com/tc39/tc39-notes/blob/master/es6/2015-03/mar-24.md#function-name-issue …
6:14 AM - 8 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.
he/him 