color.js icon indicating copy to clipboard operation
color.js copied to clipboard

Color constructor should handle argument as immutable

Open bennyschudel opened this issue 6 months ago • 3 comments

Hey there!

I was surprised to figure out that a call to new Color({ ... }) modifies my provided object by adding the space to it.

image

I guess this is a 🪲

Best Benny

bennyschudel avatar Aug 26 '24 10:08 bennyschudel