JavaScript (\b) | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

JavaScript (\b)

Help me fix this: console.log('I\'m learning JavaScript\');

28th Sep 2023, 8:15 PM
Brian Pascal
Brian Pascal - avatar
15 ответов
+ 1
its: console.log("i am learning Javascript"); have a great time in this app
28th Sep 2023, 8:16 PM
D1M3
D1M3 - avatar
+ 1
It's a code coach but it's not running, I've to use the backslash to include the quotes in the output
28th Sep 2023, 8:17 PM
Brian Pascal
Brian Pascal - avatar
+ 1
Let me try
28th Sep 2023, 8:22 PM
Brian Pascal
Brian Pascal - avatar
+ 1
Yes thats what he want
28th Sep 2023, 8:37 PM
JavaBobbo
JavaBobbo - avatar
0
Ahhh sorry i didn't knew
28th Sep 2023, 8:18 PM
D1M3
D1M3 - avatar
0
Okay thanks though
28th Sep 2023, 8:19 PM
Brian Pascal
Brian Pascal - avatar
0
But i would recommend doing : console.log("im learning Javascript");
28th Sep 2023, 8:21 PM
D1M3
D1M3 - avatar
0
Maybe this will help you console.log("\"i'm learning JavaScript\"");
28th Sep 2023, 8:34 PM
JavaBobbo
JavaBobbo - avatar
0
JavaBobbo But then it Outputs : "iam learning Javascript"
28th Sep 2023, 8:36 PM
D1M3
D1M3 - avatar
0
K ty for helping me too
28th Sep 2023, 8:38 PM
D1M3
D1M3 - avatar
0
To include quotes on the I’m just use console.log(“I’m learning JavaScript”);
28th Sep 2023, 10:52 PM
Timmothy Rain
Timmothy Rain - avatar
0
Use double quotes
29th Sep 2023, 4:16 AM
Umer Khan
Umer Khan - avatar
0
"I\'m learning JavaScript"
29th Sep 2023, 4:16 AM
Umer Khan
Umer Khan - avatar
0
Thanks guys
29th Sep 2023, 7:06 AM
Brian Pascal
Brian Pascal - avatar
0
What number is latent
30th Sep 2023, 2:51 AM
Maylene Carotativo
Maylene Carotativo - avatar