rough-stuff/rough

undefined coordinate crashes browser

Hudik opened this issue · 0 comments

Hudik commented

Using generator.rectangle(x, y, width, height, options) with at least one undefined parameter x, y, width or height leads to browser lock and quick out-of-memory state.

It is no problem with TypeScript due to type check, but it's dangerous in pure JS environment.