javascript - Is there a JS Module loader that loads into global namespace? -


i achieve - js file 1:

class polygon { ... } 

js file 2:

import 'polygon.js'  class square extends polygon { ... } 

is there module loading framework allow me (without having encapsulate imports 'polygon.js' inside variable)


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -