Yeah, JS is missing random tests:
This was either updated, or the issue wasn't one as it is clear now.
Added random tests to Ruby, other languages are OK, except JS
You could have pointed out where the difference was !! :P
You're entirely correct of course. :] Fixed.
ffs, I know that JS is working with integers in a terrible way.
Lowered the maximum n so the result will never exceed 2^52.
Please learn JS properly before refuting claims about numbers getting over safe integer range, because JS is strange (every number is double precision float) ;-)
The only way is to nuke the JS version.
This comment is hidden because it contains spoiler information about the solution
@arhigod ..Well ..
Beware this is visible on the home page's Discourse feed.
Oh, f*$%, you just closed the issue before I could republish some changes to the description...
Done in all languages