Is there a more efficient way to strip functions from a large object than the following:
var objWithoutFunctions = JSON.parse(JSON.stringify(obj));
I want to avoid the stringify/parse
combo if possible as the object might have cyclic references. And I'm generally curious if there is a way that performs better.