javascript’s parseInt is pretty evil
Javascript uses the + symbol for both addition and concatenation. This means that if you want to add a numeric value to data pulled from a user, you need to cast it to being a numeric type, like for instance an Int. Makes sense, so I use the parseInt function to cast with. OK, that’s … Continue reading javascript’s parseInt is pretty evil
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed