Express addition

This commit is contained in:
shawn committed 2020-02-13 07:52:39 -06:00
1 parent 19f54e43ec
commit 10500d5add
3876 files changed
+295527 -2

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