This commit is contained in:
MatteZ02 committed 2019-10-10 16:43:04 +03:00
1 parent 6f6ac8a6fa
commit 50b9bed483
9432 files changed
+1988816 -167

No files matched your search

+10
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();
});