Skip to content

Commit 5e46b41

Browse files
committed
fixed a typo on b.constructor.name
1 parent 0cb75f1 commit 5e46b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

topics/about_reflection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ test("constructor property", function () {
5656
var b = new B();
5757
equals(typeof(a.constructor), __, "what is the type of a's constructor?");
5858
equals(a.constructor.name, __, "what is the name of a's constructor?");
59-
equals(a.constructor.name, __, "what is the name of b's constructor?");
59+
equals(b.constructor.name, __, "what is the name of b's constructor?");
6060
});
6161

6262
test("eval", function() {

0 commit comments

Comments
 (0)