Sha256: e1dd5fe5aa345c51241f8b04d9751bef53a9910d00e099e186af9cb804c7de5a
Contents?: true
Size: 331 Bytes
Versions: 128
Compression:
Stored size: 331 Bytes
Contents
'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(); });
Version data entries
128 entries across 127 versions & 15 rubygems