This commit is contained in:
Stephen Franceschelli
2019-07-15 11:40:40 -04:00
parent 98cf58a763
commit f26956e368
7050 changed files with 1866467 additions and 10 deletions

10
node_modules/has/test/index.js generated vendored Normal file
View File

@@ -0,0 +1,10 @@
'use strict';
var test = require('tape');
var has = require('../');
test('has', function (t) {
t.equal(has({}, 'hasOwnProperty'), false, 'object literal does not have own property "hasOwnProperty"');
t.equal(has(Object.prototype, 'hasOwnProperty'), true, 'Object.prototype has own property "hasOwnProperty"');
t.end();
});