Instantly share code, notes, and snippets.
Thanks a lot.
A needed wrap regexp with "" before I make it work
You can also declare a class like this:
(export ? window).MyClass = class MyClass
I mean, it doesn't need to start with "class":