+ 1
Why is the answer of a is 7 and b is 3 in JS?
let a=(1+2,3+4); console.log(a); b=1+2,3+4; console.log(b)
3 Answers
+ 2
It's called the comma operator
https://m.youtube.com/watch?v=IvqdQB549KQ
+ 1
Like what?
+ 1
Thanks Bono bro
let a=(1+2,3+4); console.log(a); b=1+2,3+4; console.log(b)