Re:Erlang/OTP 17.0 has been released
by eurleif on Wednesday April 09, 2014 @04:48PM
(#7562261)
Are you sure you didn't make a mistake, and confuse the undefined that f() returned with an undefined output from the console.log(fac)? It looks to me like the function is a perfectly normal variable.
[ Parent
| on HN ]
You're right, I've been fooled by Firebug merging in multiple identical output lines together and missed the (2) it had put on the right hand side of the screen. That makes a lot more sense.