What’s a good name for something that takes a JS value and turns it into a pretty printed string. Just “format” is ambiguous, so is “value-format”, “pretty-print”, “stringify”, “inspect” etc. Any suggestions? (Doesn’t need to be an available npm package name)
The problem I'm having is finding an unambiguous word to mean "JS value". I want a name that adequately conveys turning a JS runtime value into a pretty-printed string.
-
-
demangle?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
If it's (any value) -> string, something like objectToString, valueToString or even just runtimeValueToString does it well IMO - especially if the function has some jsdoc
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
How about words like: Present? Showcase? Polish?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 