diff --git a/painting/rectangle.js b/painting/rectangle.js index dbfe3e5..9144606 100644 --- a/painting/rectangle.js +++ b/painting/rectangle.js @@ -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);