From d3ed8821fc342744b0e3c4773769fd74c5c61a39 Mon Sep 17 00:00:00 2001 From: blue Date: Sun, 18 Nov 2018 21:16:26 +0300 Subject: [PATCH] typo --- painting/rectangle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);