get variable in javascript console code example
Example: see all functions in a website with console
for(var b in window) {
if(window.hasOwnProperty(b)) console.log(b);
}
for(var b in window) {
if(window.hasOwnProperty(b)) console.log(b);
}