I understand that define is used to define a module, and function is an anonymous function, but what does the argument 'require' in the function hold?
If I write anything in define(function(require){...})
, when will this be called? How to give a call to his anonymous function?
Please help, I am new to advanced JS.