]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/es5-ext/test/object/is.js
4f8948cbf344e1b8afce2073456203ee798999ac
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / es5-ext / test / object / is.js
1 'use strict';
2
3 module.exports = function (t, a) {
4 var o = {};
5 a(t(o, {}), false, "Different objects");
6 a(t(o, o), true, "Same objects");
7 a(t('1', '1'), true, "Same primitive");
8 a(t('1', 1), false, "Different primitive types");
9 a(t(NaN, NaN), true, "NaN");
10 a(t(0, 0), true, "0,0");
11 a(t(0, -0), false, "0,-0");
12 };