Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d886f55

Browse files
author
CookiesDeathCookies
committedApr 14, 2019
fix function signature
1 parent 7e59d4b commit d886f55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎1-js/03-code-quality/05-testing-mocha/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ For the future, let's note that there are advanced test-runners, like [karma](ht
117117
Let's make a simple implementation of `pow`, for tests to pass:
118118

119119
```js
120-
function pow() {
120+
function pow(x, n) {
121121
return 8; // :) we cheat!
122122
}
123123
```

0 commit comments

Comments
 (0)
Please sign in to comment.