Concatenation mean adding two string or character, addition mean sum of two number, in the following example is explaining the difference of adding two numbers and adding one number and character.
If you put a number in inside a double or single quote the javascript is consider it as a string (not number).
0 nhận xét:
Đăng nhận xét