Transform anything into an executable script string, useful in `webview.evaluateJavascript(script)` cases.