This commit is contained in:
2023-03-24 16:04:40 +01:00
parent d90a85d360
commit bb75b278f5
480 changed files with 63382 additions and 26 deletions

10
DEV 4.3/TP07/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();
});