source: frontend/node_modules/underscore/cjs/isArguments.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 448 bytes
Line 
1var _tagTester = require('./_tagTester.js');
2var _has = require('./_has.js');
3
4var isArguments = _tagTester('Arguments');
5
6// Define a fallback version of the method in browsers (ahem, IE < 9), where
7// there isn't any inspectable "Arguments" type.
8(function() {
9 if (!isArguments(arguments)) {
10 isArguments = function(obj) {
11 return _has(obj, 'callee');
12 };
13 }
14}());
15
16var isArguments$1 = isArguments;
17
18module.exports = isArguments$1;
Note: See TracBrowser for help on using the repository browser.