Implement a custom version of JSON.stringify that converts JavaScript values to JSON strings.
Implement a function that converts a JavaScript value into a JSON string.