AnsweredAssumed Answered

What happens when another function is inside require([ ],function( ));

Question asked by steven.lzhou on Oct 29, 2013
Latest reply on Oct 31, 2013 by steven.lzhou
In AMD style codes, I don't understand what happens when a function is in inside the require([...], function() {}); for example, the following codes:
require([...], function() { .....  function ABC () {a = c + b; } ..... });


The function ABC is very confusing to me.  When the program runs, when will function ABC be executed?  To understand this, should I go study more dojo language? Thanks a lot!

Outcomes