Skip to content

Commit aedeed3

Browse files
authored
Merge pull request #3195 from digital-bw/patch-1
Update task.md
2 parents 2180da8 + 9e649fb commit aedeed3

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Is it possible to create functions `A` and `B` so that `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)