News for hackers. Stuff that matters.
Re:It's always been you, Canvas2D by shadowgovt on Friday March 04, 2022 @12:44PM (#30557878)
Totally agree. I think it's way too late to change out the behavior of `typeof`, but Canvas2D is young enough that it might be great if one or more browsers removed that optimization and didn't cause width = width to blank the canvas contents, so that people didn't come to rely on a bad API to solve a problem that has nothing to do with canvas width.

... of course, that would require extending the API with an actual blanking function...

There are no comments on this comment yet.