Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uart.js/Puck.js should handle undefined #7

Open
gfwilliams opened this issue Apr 26, 2021 · 0 comments
Open

Uart.js/Puck.js should handle undefined #7

gfwilliams opened this issue Apr 26, 2021 · 0 comments

Comments

@gfwilliams
Copy link
Member

http://forum.espruino.com/conversations/362281/#comment15956629

Puck/eval("undefined") breaks because what is returned isn't JSON.

Potentially we could actually use our own JSON(ish) parser that'll allow us to use E.toJS and parse {a:5} type things instead of requiring {"a":5}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant