Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Confusing Addition & Concatenation
- Addition is about adding numbers.
- Concatenation is about adding strings.
- In JavaScript both operations use the same + operator.
- Because of this, adding a number as a number will produce a different result from adding a number as a string:
- download file on mediafire http://ow.ly/LwE7309c0i4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement