これはevalの対象にJSONじゃない文字列が紛れこんでる例。なるほどなあ。
$ ruby -rjson -e 'puts "eval(console.log(#{JSON.generate({answer: 42})}))"' | node{ answer: 42 }
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.