Define() Method:It’s used when the js is intended to be used in another js file.It’s used to assist in the definition of modules.Define() method accommodates two optional parameters:i) Module ID ii) Dependencies : array of required dependencies define( 'module_id' /*optional, a string that specifies the module's ...