Lines Matching refs:y
71 function y() {} function
72 y.x = 'z';
73 assert.deepEqual(_.allKeys(y), ['x'], 'should get keys from constructor');
447 …assert.notOk(_.isEqual({x: 1, y: void 0}, {x: 1, z: 2}), 'Objects with identical keys and differen…
543 …assert.notOk(_.isEqual(_({x: 1, y: void 0}).chain(), _({x: 1, z: 2}).chain()), 'Chained objects co…
545 a = _({x: 1, y: 2}).chain();
546 b = _({x: 1, y: 2}).chain();
773 obj.add({x: 1}, {y: 'string'}).add({y: 'string'}).add({z: [1, 2, 3]});
936 specObj.y = 5;
937 assert.equal(_.isMatch({x: 1, y: 5}, specObj), true);
938 assert.equal(_.isMatch({x: 1, y: 4}, specObj), false);
940 …assert.ok(_.isMatch(specObj, {x: 1, y: 5}), 'inherited and own properties are checked on the test …
943 assert.ok(_.isMatch({x: 5, y: 1}, Prototest), 'spec can be a function');
982 specObj.y = 5;
984 assert.equal(protospec({x: 1, y: 5}), true);
985 assert.equal(protospec({x: 1, y: 4}), false);
987 …assert.ok(_.matcher({x: 1, y: 5})(specObj), 'inherited and own properties are checked on the test …
990 assert.ok(_.matcher(Prototest)({x: 5, y: 1}), 'spec can be a function');