Skip to content

Commit c9100ad

Browse files
authored
Добавление отсутствующих ()
1 parent f725f0f commit c9100ad

File tree

1 file changed

+2
-2
lines changed
  • 1-js/04-object-basics/06-constructor-new/1-two-functions-one-object

1 file changed

+2
-2
lines changed

1-js/04-object-basics/06-constructor-new/1-two-functions-one-object/task.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ importance: 2
1010
function A() { ... }
1111
function B() { ... }
1212

13-
let a = new A;
14-
let b = new B;
13+
let a = new A();
14+
let b = new B();
1515

1616
alert( a == b ); // true
1717
```

0 commit comments

Comments
 (0)