{"ScriptPreparationCode":"window.foo = [\r\n {\r\n test: 1,\r\n test2: {\r\n cate: 4,\r\n jake: [\r\n 1,\r\n 2,\r\n \u0027abc\u0027,\r\n {\r\n cate: 4,\r\n jake: [1, 2, \u0027abc\u0027]\r\n }\r\n ]\r\n },\r\n cate: 4,\r\n jake: [1, 2, \u0027abc\u0027]\r\n },\r\n \u0027cat\u0027,\r\n \u0027dog\u0027,\r\n \u0027bird\u0027\r\n];\r\nwindow.bar = [\r\n {\r\n test: 1,\r\n test2: {\r\n cate: 4,\r\n jake: [\r\n 1,\r\n 2,\r\n \u0027abc\u0027,\r\n {\r\n cate: 4,\r\n jake: [1, 2, \u0027abc\u0027]\r\n }\r\n ]\r\n },\r\n cate: 4,\r\n jake: [1, 2, \u0027abc\u0027]\r\n },\r\n \u0027cat\u0027,\r\n \u0027dog\u0027,\r\n \u0027bird\u0027\r\n];","TestCases":[{"Name":"_.isEqual","Code":"_.isEqual(window.foo, window.bar)","IsDeferred":false},{"Name":"JSON.stringify","Code":"getJsonHash(window.foo) === getJsonHash(window.bar);\r\n\r\nfunction getJsonHash(object) {\r\n return JSON.stringify(object).split(\u0027\u0027).reduce(reduce, 0);\r\n\r\n function reduce(prevHash, currVal) {\r\n return (((prevHash \u003C\u003C 5) - prevHash) \u002B currVal.charCodeAt(0)) | 0;\r\n }\r\n }","IsDeferred":false}]}