Update README.md

Fixed sample output (and song lyrics, very important stuff)
This commit is contained in:
Victor Westerlund 2021-10-11 10:40:14 +02:00 committed by GitHub
parent 32493065fc
commit f53bea079e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ const methods = {
<pre lang="json"> <pre lang="json">
{ {
"tasks": [ "tasks": [
[0,"myJavaSriptMethod","I see skies of","blue"], [0,"myJavaSriptMethod","I see trees of","green"],
[300,"myJavaSriptMethod","red","roses too"], [300,"myJavaSriptMethod","red","roses too"],
[160,"myJavaSriptMethod","I see them","bloom"], [160,"myJavaSriptMethod","I see them","bloom"],
[1200,"myJavaSriptMethod","for","me and you"] [1200,"myJavaSriptMethod","for","me and you"]
@ -73,7 +73,7 @@ monkey.do();
</ol> </ol>
<p>The example above would be the same as running:</p> <p>The example above would be the same as running:</p>
<pre lang="js"> <pre lang="js">
console.log("I see skies","of blue"); // Right away console.log("I see trees of","green"); // Right away
console.log("red","roses too"); // 300 milliseconds after the first console.log("red","roses too"); // 300 milliseconds after the first
console.log("I see them","bloom"); // 160 milliseconds after that one console.log("I see them","bloom"); // 160 milliseconds after that one
console.log("for","me and you"); // and lastly, 1200 after that console.log("for","me and you"); // and lastly, 1200 after that