Imagine that I created a class. And now how can I find it (or all other classes) and in which scope?
class TestClass {
}
Object.getOwnPropertyNames(this).includes('TestClass'); // false
The returned value is false but I expected that last expression will return true. Is it even possible to find defined classes?