Quantcast
Channel: javascript can I get class from it's name? - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by István for javascript can I get class from it's name?

If you use eval('myClass') that will return the class, but it won't work with eval('MyClass')

View Article



javascript can I get class from it's name?

I was wondering if there is a function in javascript that returns the class if we add a parameter,for example :myClass extends someClass{// My code here.}and somewhere else I could do :let class =...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images