extractFunctions
Type: boolean
Default: false
Stringifies inner code of functions.
var obj = {
assets: function() { [foo, bar] }
}
var pretty = stringifyObject(obj, {
extractFunctions: true
}
console.log(pretty);
/*
{
assets: [foo, bar]
}
*/