I had to JSON.stringify
the output in order to see that in fact the color
values were correctly populated.
Eg this shows the color
values as expected:
console.log(JSON.stringify(array3));
For some reason, just using:
console.log(array3);
Showed the color
values as undefined
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…