Sha256: aac6587befcf49d00d5bbd29fe1fdf73e5e48f3cca3ab63ebd550e141c065da5
Contents?: true
Size: 467 Bytes
Versions: 29
Compression:
Stored size: 467 Bytes
Contents
'use strict'; var stringify = JSON.stringify; module.exports = function (t, a) { var o = { 1: 'raz', 2: 'dwa', 3: 'trzy' } , no = t(o); a.not(no, o, "Return different object"); a(stringify(no), stringify(o), "Match properties and values"); o = { foo: 'bar', raz: { dwa: 'dwa', trzy: { cztery: 'pięć', 'sześć': 'siedem' }, osiem: {}, 'dziewięć': function () { } }, 'dziesięć': 10 }; o.raz.rec = o; no = t(o); a(o.raz, no.raz, "Shallow"); };
Version data entries
29 entries across 19 versions & 7 rubygems