string.js 

Send to Kindle
home » snippets » javascript » string.js



Notes

Get a JS string back from a wrapped string

// the .s property and the .toString() method give you back the JS backing strings.
var txt = "Hello";
assert(S(txt).s === txt);