Answers for "7.7. Special Characters \n and \t"

0

7.7. Special Characters \n and \t

/*The most commonly-used special characters are \n and \t, which are the
newline and tab characters, respectively. They work as you would expect.*/

console.log("A message\nbroken across lines,\n\tand indented");

//A message
//broken across lines,
//   and indented
Posted by: Guest on June-14-2021

Code answers related to "7.7. Special Characters \n and \t"

Code answers related to "Javascript"

Browse Popular Code Answers by Language