Show More
Commit Description:
force log out when password change
Commit Description:
force log out when password change
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(); | ||||
}); | ||||