Build your own version of JSON.stringify that serializes JavaScript values to JSON strings.
Asked in frontend interviews at Google, Meta and Microsoft