I like to name my callbacks. The hello method below is never called:
function hello() {
console.log('hi');
}
require(['locale-data/en'], hello); // TODO other languages for extensions
It is transformed to:
(function() {
function hello() {
console.log('hi');
}
}());
The console.log never happens!