Skip to content

Commit 2b985ee

Browse files
authored
Merge pull request #912 from Azatik1000/master
fix function signature
2 parents 0254608 + bfa672d commit 2b985ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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
```

1-js/03-code-quality/05-testing-mocha/pow-2.view/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<body>
2121

2222
<script>
23-
function pow() {
23+
function pow(x, n) {
2424
return 8; // :) we cheat!
2525
}
2626
</script>

0 commit comments

Comments
 (0)