]> git.r.bdr.sh - rbdr/dotfiles/blob
02b3f0027cbf8232356424b127728ecc75b5aab9
[rbdr/dotfiles] /
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), true, "0,-0");
12 };