Use function expressions when referring to 'arguments'.

This commit is contained in:
Daniel Rosenwasser
2015-03-20 18:04:49 -07:00
parent 0d211fb28d
commit 8d66f01141
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ var Deferred:any = client.Deferred;
client.init({ token: 'YOUR_TOKEN' });
// get your info.
client.get('me', (err, res) => {
client.get('me', function (err, res) {
console.log(arguments);
});