Skip to content

Commit

Permalink
Update test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Waigand committed Mar 25, 2016
1 parent 6086cf0 commit adee6bb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions JS/Language/LexicalScope/test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
describe("this-Binding-Exercise", function() {
it("Think of the current scope!", function() {
describe("Lexical-Scope-Exercise", function() {
it("Think of closure scope, especially for the third one!", function() {
expect(makeAllTrue[0]).to.be.true;
});

it("What does 'this' default to?", function() {
it("Basenumber and the iterator variable were changed. Think of the closure scopes!", function() {
expect(makeAllTrue[1]).to.be.true;
});

it("For the lexical scope, the only thing that matters is where the function was defined.", function() {
expect(makeAllTrue[2]).to.be.true;
});
});

0 comments on commit adee6bb

Please sign in to comment.