Building a custom RequireJS
RequireJS works on the principle that we can define functions that depend on values returned by other functions. This helps us write modular code. Here, we will assume all functions are in a single file.
The ask goes like this:
define('moduleName',fu...