Adding a small blurb to extend upon string concatination

This commit is contained in:
Kyle Mendes 2015-10-28 17:25:44 -04:00
parent cbc2daa58d
commit 08e6aa4e6e

View File

@ -101,6 +101,10 @@ false;
// Strings are concatenated with +
"Hello " + "world!"; // = "Hello world!"
// ... which works with more than just strings
"1, 2, " + 3; // = "1, 2, 3"
"Hello " + ["world", "!"] // = "Hello world,!"
// and are compared with < and >
"a" < "b"; // = true