select all variables in javascript vs 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);
}