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)

SurveyJS custom survey software

Simplify data collection in your JS app with a fully integrated form management platform. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more. Integrates with any backend system, giving you full control over your data and no user limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay