I have viewed a strange syntax in JS. I don't know what is this. I have tested a simple ex in browser console. The code below:
const x = [1,2,3];
(x[0]+=1,x) // [2,2,3]
I have viewed a strange syntax in JS. I don't know what is this. I have tested a simple ex in browser console. The code below:
const x = [1,2,3];
(x[0]+=1,x) // [2,2,3]