fix function signature
This commit is contained in:
parent
7e59d4b13e
commit
d886f551a8
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ For the future, let's note that there are advanced test-runners, like [karma](ht
|
||||||
Let's make a simple implementation of `pow`, for tests to pass:
|
Let's make a simple implementation of `pow`, for tests to pass:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
function pow() {
|
function pow(x, n) {
|
||||||
return 8; // :) we cheat!
|
return 8; // :) we cheat!
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue