parseInt('12', 10); => 12 Number('12'); => 12 parseInt('12x', 10); => 12 Number('12x'); => NaN
Reply on news.ycombinator.com