0

What is this Output?

Console.log ('19' - '13' + '17'); Plz.. Explain about this.

18th Dec 2021, 6:22 AM
Pravin N
Pravin N - avatar
2 Respostas
+ 1
19 - 13 = 6 Since 17 is a string and plus operator is used to concat two or more string so here 6 + '17' = 617
18th Dec 2021, 8:22 AM
A͢J
A͢J - avatar
0
Thank you so much bro ❣️
18th Dec 2021, 1:46 PM
Pravin N
Pravin N - avatar