+ 1

What is the output this code?

var a='abcde' console.log(a*2)

18th Sep 2020, 5:07 PM
Rustam Shukurov
1 Respuesta
+ 3
You cannot do multiply Number with string or char but you can concatinate String to number by using + sign
18th Sep 2020, 5:20 PM
A S Raghuvanshi
A S Raghuvanshi - avatar