You could use ```js new Abc`abc`(‘abc’) ``` But you could only use strings. What about constructors? You would need to use ```js const thatConstructor = (new Function(‘return ’ + t))() ``` But it would only give what is defined in that constructor.
--- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss