Возможно это?:
for (var property in window) { if (window.hasOwnProperty(property)) console.log(property) }