commit
2b985eecdd
2 changed files with 2 additions and 2 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:
|
||||
|
||||
```js
|
||||
function pow() {
|
||||
function pow(x, n) {
|
||||
return 8; // :) we cheat!
|
||||
}
|
||||
```
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<body>
|
||||
|
||||
<script>
|
||||
function pow() {
|
||||
function pow(x, n) {
|
||||
return 8; // :) we cheat!
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue