Packages

A web application in pursuit of meaning in life.

Retired package: Complete rewrite, scratch old versions

Current section

Files

Jump to
udia assets node_modules has test index.js
Raw

assets/node_modules/has/test/index.js

global.expect = require('chai').expect;
var has = require('../src');
describe('has', function() {
it('works!', function() {
expect(has({}, 'hasOwnProperty')).to.be.false;
expect(has(Object.prototype, 'hasOwnProperty')).to.be.true;
});
});