Skip to content

Commit e21b46c

Browse files
committed
trying to get it working again
1 parent 915243d commit e21b46c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

topics/about_scope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module("About Scope (topics/about_scope.js)");
33
thisIsAGlobalVariable = 77;
44

55
test("global variables", function() {
6-
equal(__, thisIsAGlobalVariable, 'is thisIsAGlobalVariable defined in this scope?');
6+
equal(true, thisIsAGlobalVariable, 'is thisIsAGlobalVariable defined in this scope?');
77
});
88

99
test("variables declared inside of a function", function() {

topics/about_this.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ test("'this' inside a method", function () {
44
var person = {
55
name: 'bob',
66
intro: function () {
7-
return "Hello, my name is " + this.__;
7+
return "Hello, my name is " + this.name;
88
}
99
}
1010
equal(person.intro(), "Hello, my name is bob", "If an object has a method can you access properties inside it?");

0 commit comments

Comments
 (0)