Concatenation
The concat() method is used to join two or more strings.
This method does not change the existing strings, but returns a new string containing the text of the joined strings.
document.write
The write() method writes HTML expressions or JavaScript code to a document.
document.writeln
The writeln() method is identical to the write() method, with the addition of writing a newline character after each statement.
Sources:
http://www.w3schools.com/jsref/jsref_concat_string.asp
http://www.w3schools.com/jsref/met_doc_write.asphttp://www.w3schools.com/jsref/met_doc_writeln.asp
Syrell Calabag, signing off..
No comments:
Post a Comment