We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2180da8 + 9e649fb commit aedeed3Copy full SHA for aedeed3
1 file changed
1-js/04-object-basics/06-constructor-new/1-two-functions-one-object/task.md
@@ -10,8 +10,8 @@ Is it possible to create functions `A` and `B` so that `new A() == new B()`?
10
function A() { ... }
11
function B() { ... }
12
13
-let a = new A;
14
-let b = new B;
+let a = new A();
+let b = new B();
15
16
alert( a == b ); // true
17
```
0 commit comments