@bdc hmm. Shouldn’t it be 1? Do you know why it isn’t?
-
-
Replying to @alexlafroscia
@AlexLaFroscia As soon as you have one argument with a default value, the function arity is 0. Worst thing ever :/1 reply 0 retweets 0 likes -
Replying to @alexlafroscia
@AlexLaFroscia Yup, that’s what happens in real :(1 reply 0 retweets 0 likes -
-
Replying to @bdc
@bdc Nope? Works as expected. http://babeljs.io/repl/#?experimental=false&evaluate=true&loose=false&spec=false&code=console.log(((foo%3D%22bar%22)%20%3D%3E%20%7B%7D).length)%3B&playground=false …@alexlafroscia1 reply 0 retweets 0 likes -
Replying to @sebmck1 reply 0 retweets 0 likes
-
Replying to @alexlafroscia
@alexlafroscia Well yeah. The arity of functions is equal to that of the last non-default/rest parameter.@bdc1 reply 0 retweets 0 likes
Replying to @alexlafroscia
@alexlafroscia Ah right. I was just responding to the "That's a bug afaict". @bdc
7:56 AM - 31 May 2015
0 replies
0 retweets
0 likes
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 