Full thread5xman·This is so wrong! Someone should tell the author how to properly write the algorithm in javascript.View on HN