Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

12345678910
  1. 'use strict';
  2. var test = require('tape');
  3. var has = require('../');
  4. test('has', function (t) {
  5. t.equal(has({}, 'hasOwnProperty'), false, 'object literal does not have own property "hasOwnProperty"');
  6. t.equal(has(Object.prototype, 'hasOwnProperty'), true, 'Object.prototype has own property "hasOwnProperty"');
  7. t.end();
  8. });