added a javascript quote

This commit is contained in:
Miodec 2021-01-14 17:33:39 +00:00
parent 7ab1c2f09f
commit 4ddeac4a0d

View file

@ -0,0 +1,17 @@
{
"language": "code_javascript",
"groups": [
[0, 100],
[101, 300],
[301, 600],
[601, 9999]
],
"quotes": [
{
"text": "//a function that generates random gibberish at random length\n\nexport function getGibberish() {\n\tlet randLen = Math.floor(Math.random() * 7) + 1;\n\tlet ret = \"\";\n\tfor (let i = 0; i < randLen; i++) {\n\t\tret += String.fromCharCode(97 + Math.floor(Math.random() * 26));\n\t}\n\treturn ret;\n}",
"source": "Monkeytype Sourcecode",
"id": 1,
"length": 64
}
]
}