DEV Community

Calin Baenen
Calin Baenen

Posted on

I Substantially Reworked ParseJS

Apparently ParseJS was not built so great and did not work as I intended, or had recalled.
I went back and redid it; in the process, I removed eleven lines ov code and improved the clarity (for myself, at least) quite a bit.

Also, the behavior ov the parse_string function has changed slightly; instead ov returning an empty array if there are no tokens, it continues how it would if there were tokens, meaning that if includeUnknownChars, formerly iukwc (for "include uknown key*word **c*haracters"), is true, parse_string will return an array with all the characters ov str split.

Top comments (0)