Comment

Comment by xpressvideoz

It does not convert them to JSON strings, as stated in the original article. That's why I said it corrupted the values.

  > JSON.stringify({a: ()=>{}})
  {}
  > JSON.stringify({a: /b/})
  {"a":{}}

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton