Update article.md

There has to be a scary CPU-intensive task here, otherwise the example wouldn't make sense. Hence the suppression of "can";
I have also removed "actually" because in this context it would be interpreted as "to your surprise", which is not the case here
This commit is contained in:
hrodward 2019-10-18 08:07:53 +02:00 committed by GitHub
parent 33e4cc258b
commit 81a250337d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ let worker = {
},
slow(x) {
// actually, there can be a scary CPU-heavy task here
// scary CPU-heavy task here
alert("Called with " + x);
return x * this.someMethod(); // (*)
}