Merge pull request #912 from Azatik1000/master

fix function signature
This commit is contained in:
Ilya Kantor 2019-04-14 22:47:37 +03:00 committed by GitHub
commit 2b985eecdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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!
}
```

View file

@ -20,7 +20,7 @@
<body>
<script>
function pow() {
function pow(x, n) {
return 8; // :) we cheat!
}
</script>