Skip to content

Commit 2d80d07

Browse files
authored
Merge pull request iliakan#500 from LakeVostok/js-style-fix
added parentheses to Date constructor
2 parents fae21a7 + 1c8ba40 commit 2d80d07

File tree

1 file changed

+1
-1
lines changed
  • 1-js/6-objects-more/5-static-properties-and-methods/1-objects-counter

1 file changed

+1
-1
lines changed

1-js/6-objects-more/5-static-properties-and-methods/1-objects-counter/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
```js run
44
function Article() {
5-
this.created = new Date;
5+
this.created = new Date();
66

77
*!*
88
Article.count++; // увеличиваем счетчик при каждом вызове

0 commit comments

Comments
 (0)