JavaScript WTFs 5 - Arithmetic and parseInt

time1 yr agoview4 views

Some "surprising" things about JavaScript. Andy Balaam discusses JavaScript's arithmetic, which sometimes disagrees with our common sense about numbers, and the parseInt function, which can interpret things very differently from what we might expect. The slides are here: http://www.artificialworlds.net/blog/2012/03/30/javascript-wtfs/

Loading comments...