JavaScript syntax: Difference between revisions

Content deleted Content added
Line 93:
 
==Operators==
The '+' operator is [[operator overloading|overloaded]]; it is used for string concatenation and arithmetic addition and also to convert strings to numbers (notin to mention thataddition, it has special meaning when used in a [[regular expression]]).
 
// Concatenate 2 strings