Seeking to investigate the $ionicTabsDelegate
variable in my hybrid app, I employing a "dump" method, detailed in this helpful resource that can be found here.
function dump(obj) {
var out = '';
for (var i in obj) {
out += i + ": " + obj[i] + "\n";
}
alert(out);
// or, if you wanted to avoid alerts...
var pre = document.createElement('pre');
pre.innerHTML = out;
document.body.appendChild(pre)
}
However, upon executing the dump function, an error is thrown on the console:
RangeError: Maximum call stack size exceeded
So, how should I go about examining this object?