-
Simple Array Question
I’m wiggling both properties uniformly below in the two sets of code. My question is why does the second one work? The second value in that array has a [0] designed to it, which I thought was reserved for the first number in the array. Shouldn’t this break the expression? Thanks for reading.
w = wiggle(frequency, amount);
[w[0],w[1]]w = wiggle(frequency, amount);
[w[0],w[0]]Best regards,
Kevin Camin