flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
16
VISUALIZACION/node_modules/underscore/modules/isArguments.js
generated
vendored
Executable file
16
VISUALIZACION/node_modules/underscore/modules/isArguments.js
generated
vendored
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
import tagTester from './_tagTester.js';
|
||||
import has from './_has.js';
|
||||
|
||||
var isArguments = tagTester('Arguments');
|
||||
|
||||
// Define a fallback version of the method in browsers (ahem, IE < 9), where
|
||||
// there isn't any inspectable "Arguments" type.
|
||||
(function() {
|
||||
if (!isArguments(arguments)) {
|
||||
isArguments = function(obj) {
|
||||
return has(obj, 'callee');
|
||||
};
|
||||
}
|
||||
}());
|
||||
|
||||
export default isArguments;
|
||||
Loading…
Add table
Add a link
Reference in a new issue