first version

This commit is contained in:
Annika committed 2022-08-09 16:47:50 -06:00
commit 1826a6d70d
1039 files changed
+197766

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