Last active
March 12, 2018 21:10
-
-
Save munizart/559a798457405562309dbd94fa96fb63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//paste into console | |
(function (){ | |
var defaultGlobals = new Set(Object.keys((x = window.open(),x.close(),x))); | |
var globals = Object.keys(window); | |
return globals.filter(x => !defaultGlobals.has(x)).reduce((o, k) => ({[k]: window[k], ...o}), {}) | |
}()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment