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.
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.