solved lab

This commit is contained in:
schrom01
2022-11-24 21:06:23 +01:00
parent aa8786c63c
commit 3ab6cc0b8a
430 changed files with 62550 additions and 29 deletions
+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();
});