I am just starting to learn Javascript and I immediately got confused by seemingly contradictory statements in Mozilla's A re-introduction to JavaScript (JS tutorial).
One one hand:
"There's no such thing as an integer in JavaScript, so you have to be a little careful with your arithmetic if you're used to math in C or Java."
On the other hand (immediately after that paragraph):
"In practice, integer values are treated as 32-bit ints (and are stored that way in some browser implementations), which can be important for bit-wise operations."
and
"You can convert a string to an integer using the built-in parseInt() function."
So, is there such thing as integer in JavaScript or isn't there?