r/javascript • • Nov 30 '11

How to add numbers in Javascript

143 Upvotes

44 comments sorted by

View all comments

3

u/aristideau Dec 01 '11

Could have been a legitimate question, eg using parseInt() because integer type does not exist in JS.