I'm trying to inspect the $ionicTabsDelegate
variable on my hybrid app using this "dump" solution which 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)
}
But once I call my dump function, I'm getting this error on the console:
RangeError: Maximum call stack size exceeded
So, how can I check this object?