javaScriptToString — Live Demo

Write a function that returns a value. It will be converted to source code string.

Input — function body
0 chars
Options — IJ2SOptions
Max depth for nested objects
Max depth for nested arrays
Max depth for nested functions
Output — javaScriptToString(result)
Click "Convert to String" to see the result
Verification — eval back to value
The output string will be evaluated back to verify correctness