+ 3
Console & eval
Hi everyone, please why is the answer of this 24? var a= "1"; var b= "2*2"; console.log(eval(a+b));
2 Respostas
+ 3
Thanks a lot guys for breaking it down. I really appreciate it and i understand it now.🤗
+ 1
a+b = 1(2*2) = 12*2 = 24