Skip to content

Commit 3776106

Browse files
author
Prokhor
authored
min is not defined!
Should be: mins
1 parent dc904d1 commit 3776106

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Clock.prototype._render = function() {
1111
if (hours < 10) hours = '0' + hours;
1212

1313
let mins = date.getMinutes();
14-
if (mins < 10) min = '0' + mins;
14+
if (mins < 10) mins = '0' + mins;
1515

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

0 commit comments

Comments
 (0)