Resources‎ > ‎Programming‎ > ‎


Data Type

Namespace (Package)

There are many different ways to achieve the namespace like feature in JavaScript:
  • This one provides both import/export functions.
  • This one also talks about how to do aliasing.

Import javascript in javascript
If you're using jQuery, you can use its import function to import external javascript in another javascript.  But if you do not wan to rely on other frameworks, a suggestion from ~S.O.S~ in this might be useful.

Performance check