Skip to content

Commit ee4baf8

Browse files
committed
Made global variables local
1 parent ff8f175 commit ee4baf8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

koans/AboutObjects.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe("About Objects", function () {
2828
}
2929
};
3030

31-
battleCry = meglomaniac.battleCry(4);
31+
var battleCry = meglomaniac.battleCry(4);
3232
expect(FILL_ME_IN).toMatch(battleCry);
3333
});
3434

@@ -60,14 +60,14 @@ describe("About Objects", function () {
6060

6161
it("should have the bomb", function () {
6262

63-
hasBomb = "theBomb" in meglomaniac;
63+
var hasBomb = "theBomb" in meglomaniac;
6464

6565
expect(hasBomb).toBe(FILL_ME_IN);
6666
});
6767

6868
it("should not have the detonator however", function () {
6969

70-
hasDetonator = "theDetonator" in meglomaniac;
70+
var hasDetonator = "theDetonator" in meglomaniac;
7171

7272
expect(hasDetonator).toBe(FILL_ME_IN);
7373
});

0 commit comments

Comments
 (0)