]> git.r.bdr.sh - rbdr/dotfiles/blob
a9225a048c5c919edc2a5e8da32b75af8e9a6555
[rbdr/dotfiles] /
1 'use strict';
2
3 module.exports = function (t, a) {
4 var x = {}, y = {}
5 , o = { foo: 'bar', raz: x, trzy: 'cztery', five: '6' };
6
7 a(t(o, 'bar'), 'foo', "First property");
8 a(t(o, 6), null, "Primitive that's not there");
9 a(t(o, x), 'raz', "Object");
10 a(t(o, y), null, "Object that's not there");
11 a(t(o, '6'), 'five', "Last property");
12 };