Imports and eval

Juan Ignacio Dopazo jdopazo at
Mon Jun 2 09:33:11 PDT 2014

Import/export declarations are designed to be static. However, eval() seems to break this invariant:

eval('import ' + foo + ' from ' + bar);

Is this valid ES6 code? Should it be valid?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list