This commit is contained in:
Blue 2018-11-18 21:16:26 +03:00
parent c1ffae9f90
commit d3ed8821fc
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class Rectangle extends Shape {
}
static randomOptions() {
opts = super.randomOptions();
let opts = super.randomOptions();
opts.width = Math.floor(Math.random() * maxWidth);
opts.height = Math.floor(Math.random() * maxHeight);