Merge pull request #1307 from paroche/patch-13

Update article.md
This commit is contained in:
Ilya Kantor 2019-09-02 14:36:39 +03:00 committed by GitHub
commit dbfe588ae1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -280,7 +280,7 @@ alert( worker.slow(3, 5) ); // works
alert( "Again " + worker.slow(3, 5) ); // same (cached)
```
Now it works with any number of arguments.
Now it works with any number of arguments (though the hash function would also need to be adjusted to allow any number of arguments. An interesting way to handle this will be covered below).
There are two changes: