Skip to content

Commit 55a87a8

Browse files
authored
Update task.md
1 parent cc3e997 commit 55a87a8

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 @@ Je možné vytvořit funkce `A` a `B` tak, aby `new A() == new B()`?
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)