1function functionOne(x) { alert(x); }
2
3function functionTwo(var1, callback) {
4 callback(var1);
5}
6
7functionTwo(2, functionOne);
1makeHTTPRequest('GET', 'http://youramazingapi/money_makers.php').then(function(data){
2 this.shakeThose.push(data);
3}.bind(this));