What was the answer to this javasript challenge?really just the first line,The escaping challenge | Sololearn: Learn to code for FREE!

+4

What was the answer to this javasript challenge?really just the first line,The escaping challenge

console.log('I'm learning JavaScript'); console.log("A quote: "Java is to JavaScript as ham is to hamster." ");

12/25/2020 8:15:34 AM

Chrishaun Diggs

3 Answers

New Answer

0

console.log('I\'m learning JavaScript'); Here you go ;)

0

console.log("I\'m learning JavaScript"); console.log('A quote: "Java is to JavaScript as ham is to hamster."');

-2

Using escape sequence \' and \"