0
i dont understand this alert in js
var x = [1,2,3]; alert(x[x[x.length%2]]); //answer is:3. //but how do i read this? //i would first read the modulo, result =1; //then i dont know what kind of x i should take of this array. and where is the â3â resulting from? đ«
2 RĂ©ponses
0
oh jesus!!! thank you for your help and clear explanation!!! đđđȘđđ
0
reading from inside out. đ