JSON.stringify

Implement a custom version of JSON.stringify that converts JavaScript values to JSON strings.

Examples
Input: {"a":1}
Output: "{\"a\":1}"
Hints

JSON.stringify

Implement a function that converts a JavaScript value into a JSON string.