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
@@ -75,7 +75,7 @@ false
false.should.be.false;
(0).should.not.be.false;
var args = (a: string, b: string, c: string) => { return arguments; };
var args = function (a: string, b: string, c: string) { return arguments; };
args.should.be.arguments;
['a'].should.not.be.arguments;