Ensure unit tests pass in Narwhal.

Former-commit-id: a86ce088a72ea0be7b31e4bccc51ce1286b9418b
This commit is contained in:
John-David Dalton
2013-04-16 01:04:47 -07:00
parent b1f8e845df
commit 562b4eb531
5 changed files with 35 additions and 35 deletions

View File

@@ -293,12 +293,12 @@
for (prop in arguments) { }
/**
* Detect if `arguments` objects are `Object` objects (all but Opera < 10.5).
* Detect if `arguments` objects are `Object` objects (all but Narwhal and Opera < 10.5).
*
* @memberOf _.support
* @type Boolean
*/
support.argsObject = arguments.constructor == Object;
support.argsObject = arguments.constructor == Object && !(arguments instanceof Array);
/**
* Detect if an `arguments` object's [[Class]] is resolvable (all but Firefox < 4, IE < 9).