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

java - Static nested class instance -

Python Pandas join aggregated tables -

process - Python What is the difference between a Pool of worker processes and just running multiple Processes? -