CWCPOOJS - callbacks
var myFunction = function() { console.log("Hello World"); }; var callAnotherFunction = function(anotherFunction) { anotherFunction(); }; callAnotherFunction(myFunction); // logs "Hello World"