Created
January 6, 2014 13:23
-
-
Save unknownuser88/8282822 to your computer and use it in GitHub Desktop.
concat(v1, v2,…) Combines one or more strings (arguments v1, v2 etc) into the existing one and returns the combined string. Original string is not modified
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//concat(v1, v2,..) | |
var message="Sam" | |
var final=message.concat(" is a"," hopeless romantic.") | |
//alerts "Sam is a hopeless romantic." | |
alert(final) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment