Update article.md

This commit is contained in:
paroche 2019-09-01 19:31:28 -06:00 committed by GitHub
parent 6292469b88
commit bcae3c640f
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 (though the hash function would need to be adjusted for a different number of arguments than two).
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: