+ 1
Please explain why?
let a=(1,2,3); console.log(a) // output >> 3
5 Respostas
+ 4
This is because, it assigns 1, 2, 3 one by one to a
That is, first 1 is Assigned, then 2 and then 3 at last.. so the final answer is 3.
+ 4
đœđđđđđđâ đđđđđâ â most welcome buddy
+ 4
Artur I dont actually use Javascript, but I dont think it has any practical implementation. By the way, it was really a good question đœđđđđđđâ đđđđđâ â . Keep it going.
+ 1
Charitra Agarwal Thank you đ
+ 1
Charitra Agarwal First time I see such thing in js. Is there any practical use of it?