Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Inspecting
class Foo {
constructor() {
this.bar = "baz";
}
}
console.log('' + Foo);
// > "class Foo {\n constructor()...z\";\n }\n\n}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment