Here's an object I have:
Obj = {
foo: false,
bar: true,
private: {
something: 'else'
}
}
Now, I'm trying to return this object without the private part. Since the private part is used elsewhere and cannot be spliced out, I'm having trouble finding a solution.
I have access to Underscore.js and am working with node.js