Skip to content

Commit 9640e29

Browse files
committed
Trivial fixing of comments
1 parent 181a416 commit 9640e29

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

topics/about_functions_and_closure.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ test("arguments array", function() {
3737
var total = 0;
3838
for(var i = 0; i < arguments.length; i++) {
3939
// complete the implementation of this method so that it returns the sum of its arguments
40+
// __
4041
}
4142
// __
4243
};

topics/about_prototypal_inheritance.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ test("calling functions added to a prototype after an object was created", funct
3434
Mammal.prototype.numberOfLettersInName = function() {
3535
return this.name.length;
3636
};
37-
// for the following statement asks the paul object to call a function that was added to the Mammal prototype after paul was constructed.
37+
// the following statement asks the paul object to call a function that was added
38+
// to the Mammal prototype after paul was constructed.
3839
equals(paul.numberOfLettersInName(), __, "how long is Paul's name?");
3940
});
4041

0 commit comments

Comments
 (0)