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

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

matlab - error with cyclic autocorrelation function -

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -