Robin Berjon @robinberjon · 14 Oct 2011 Porting C to JS involves crafting such lovely code as parseInt(someNum.toString()). Lovely!