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