×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which character is used to break up a code line within a text string in JavaScript?

51. Which character is used to break up a code line within a text string in JavaScript?

  1. Single quote (')
  2. Single backslash (\)
  3. Double quote (")
  4. Tipple single quote (''')

Answer: B) Single backslash (\)

Explanation:

The Single backslash (\) is used to break up a code line within a text string in JavaScript.

Example:

document.getElementById("test").innerHTML = "Hello \
IncludeHelp!";

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.