Skip to content

Instantly share code, notes, and snippets.

@leobalter
Last active July 14, 2021 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leobalter/274ba70e6b5fd5ba79550a7c93e54cf5 to your computer and use it in GitHub Desktop.
Save leobalter/274ba70e6b5fd5ba79550a7c93e54cf5 to your computer and use it in GitHub Desktop.
--> HELLo!
var x = 2;
var y=42<!--x;
function z() {
return 'a';
}
with (new Proxy(globalThis, {})) {
function z() {
return 'b';
}
{
function z() {
return 'c';
}
}
}
function tellMe() {
try {
return 'no';
} catch {
return 'more';
} finally {
try {
try {
/❋/
} finally {
return 'why!';
}
} catch {}
throw 'donk';
}
return 'it\'s nothing but a headache!';
}
console.log(`tell me ${tellMe()}`); // tell me why!
console.log(x, y, z()); <!-- 2 42 'b'
╰─ node 😈.js ─╯
tell me why!
2 42 b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment