-
-
Save treeform/dec0decb4e36bdaa333aed59a9ef2f88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proc toString(obj: JsObject): string = | |
var str: cstring | |
{.emit: [str, "=", obj, " + ''"].} | |
return $str |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment