Create keyword is working, very complex

This commit is contained in:
2021-04-06 10:57:28 +10:00
parent 972866a704
commit 7860f328d7
5 changed files with 104 additions and 45 deletions

View File

@@ -7,6 +7,8 @@ const parseInput = (body, allowStrings, options) => {
switch(body[current - 1]) {
case '{':
case '}':
case '[':
case ']':
//push just this symbol
tokens.push(body.substring(current - 1, current));
break;