Sha256: 38d9e127ae56e6d3276e7c2f854c6ab69d557881e6945dc9bdaf6d32c68b5074
Contents?: true
Size: 543 Bytes
Versions: 29
Compression:
Stored size: 543 Bytes
Contents
'use strict'; module.exports = { __generic: function (t, a) { a(t.call(this, this[1]), true, "Contains"); a(t.call(this, {}), false, "Does Not contain"); }, "": function (t, a) { var o, x = {}, y = {}; o = [1, 'raz', x]; a(t.call(o, 1), true, "First"); a(t.call(o, '1'), false, "Type coercion"); a(t.call(o, 'raz'), true, "Primitive"); a(t.call(o, 'foo'), false, "Primitive not found"); a(t.call(o, x), true, "Object found"); a(t.call(o, y), false, "Object not found"); a(t.call(o, 1, 1), false, "Position"); } };
Version data entries
29 entries across 19 versions & 7 rubygems