Anonymous user
Hofstadter Figure-Figure sequences: Difference between revisions
Hofstadter Figure-Figure sequences (view source)
Revision as of 22:49, 22 November 2015
, 8 years agoCoffeeScript: check function removal
(CoffeeScript enhancement) |
(CoffeeScript: check function removal) |
||
Line 510:
int_array.sort (a, b) -> a - b
if int_array[i - 1] != i
throw 'Something\'s wrong!'
▲check i for i in [1..1000]
console.log '1000 integer check ok.'</lang>
{{out}}
|