Show More
Commit Description:
Merge pull request #28 from paphonb/change-default-language...
Commit Description:
Merge pull request #28 from paphonb/change-default-language
allow users to change default submission language
References:
File last commit:
Show/Diff file:
Action:
node_modules/has/test/index.js
| 10 lines
| 331 B
| application/javascript
| JavascriptLexer
|
r789 | '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(); | ||||
}); | ||||