Skip to content

Commit 88061f9

Browse files
author
InfiniteVoid
committed
Add JavaScript quotes
1 parent 617976e commit 88061f9

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

frontend/static/quotes/code_javascript.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,30 @@
276276
"source": "Monkeytype Sourcecode",
277277
"length": 159,
278278
"id": 45
279+
},
280+
{
281+
"text": "console.log(eval(\"3 + 5\"));",
282+
"source": "MDN",
283+
"length": 27,
284+
"id": 46
285+
},
286+
{
287+
"text": "(function () {\n\t\"use strict\";\n\t/* Start of your code */\n\tfunction greetMe(yourName) {\n\t\talert(`Hello ${yourName}`);\n\t}\n\n\tgreetMe(\"World\");\n\t/* End of your code */\n})();",
288+
"source": "MDN",
289+
"length": 194,
290+
"id": 47
291+
},
292+
{
293+
"text": "const Früh = \"foobar\";",
294+
"source": "MDN",
295+
"length": 22,
296+
"id": 48
297+
},
298+
{
299+
"text": "function die(msg) { process.stderr.write(msg + '\n'); process.exit(2); }",
300+
"source": "Julius Brussee - Caveman",
301+
"length": 24,
302+
"id": 49
279303
}
280304
]
281305
}

0 commit comments

Comments
 (0)