Scipion/interesting-javascript-codes — pull request #1 by Yaffle (2013-12-04 16:28:59+00:00)
Title: Update timsort.js

test case:

[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0].timsort(function(a,b){if (a===undefined) throw Error(); return a-b;})