This commit is contained in:
Blue 2018-11-18 21:16:26 +03:00
parent c1ffae9f90
commit d3ed8821fc

View File

@ -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);