Skip to content

Commit 6b3b485

Browse files
author
Prokhor
authored
Min is not defined
Should be: mins
1 parent 3776106 commit 6b3b485

File tree

1 file changed

+1
-1
lines changed
  • 1-js/07-object-oriented-programming/09-class/1-rewrite-to-class/solution.view

1 file changed

+1
-1
lines changed

1-js/07-object-oriented-programming/09-class/1-rewrite-to-class/solution.view/clock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Clock {
1010
if (hours < 10) hours = '0' + hours;
1111

1212
let mins = date.getMinutes();
13-
if (mins < 10) min = '0' + mins;
13+
if (mins < 10) mins = '0' + mins;
1414

1515
let secs = date.getSeconds();
1616
if (secs < 10) secs = '0' + secs;

0 commit comments

Comments
 (0)