How do I change Light Color in JavaScript?

Hi. I’m trying to change the color of a light. Is that supported? The code below works (kinda similar) for materials.

this.light.color = [1,0,0,1];```
I expect the light to be red now.

For lights, it’s this.light.color.set([1, 0, 0, 1]);, we might make that more consistent in the future.