typo
This commit is contained in:
parent
c1ffae9f90
commit
d3ed8821fc
@ -12,7 +12,7 @@ class Rectangle extends Shape {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static randomOptions() {
|
static randomOptions() {
|
||||||
opts = super.randomOptions();
|
let opts = super.randomOptions();
|
||||||
|
|
||||||
opts.width = Math.floor(Math.random() * maxWidth);
|
opts.width = Math.floor(Math.random() * maxWidth);
|
||||||
opts.height = Math.floor(Math.random() * maxHeight);
|
opts.height = Math.floor(Math.random() * maxHeight);
|
||||||
|
Loading…
Reference in New Issue
Block a user