Hacker News new | ask | show | jobs
by t0astbread 1412 days ago
If I wanted to dump raw JS data structures as text the most straightforward way I can think of is `JSON.stringify` and `JSON.parse`. No need to roll your own S-expression parser.
1 comments

console.log(a)

eval(a)