node js callback function in object code example
Example: javascript pass this to callback
makeHTTPRequest('GET', 'http://youramazingapi/money_makers.php').then(function(data){
this.shakeThose.push(data);
}.bind(this));
makeHTTPRequest('GET', 'http://youramazingapi/money_makers.php').then(function(data){
this.shakeThose.push(data);
}.bind(this));