{"ScriptPreparationCode":"function translate(arg1, arg2) {\r\n\treturn \u0060 some text ${arg1.toFixed(2)} other text ${arg2.toLocaleString()}\u0060;\r\n}\r\n\r\nconst template = [\u0027 some text \u0027, \u0027 other text \u0027];\r\nfunction getTranslatable(arg1, arg2) {\r\n\treturn {\r\n\t\ttemplate: template,\r\n\t\targs: [arg1, arg2],\r\n\t};\r\n}\r\n\r\nfunction isEqual(t1, t2) {\r\n\tif (t1.template !== t2.template) {\r\n\t\treturn false;\r\n\t}\r\n\t\r\n\treturn t1.args.every((arg, index) =\u003E arg instanceof Date \u0026\u0026 t2.args[index] instanceof Date ? \r\n arg.valueOf() === t2.args[index].valueOf() : \r\n arg === t2.args[index]\r\n );\r\n}\r\n\r\nresults1 = [];\r\nresults2 = [];","TestCases":[{"Name":"build strings and compare them","Code":"const s1 = translate(123.45678, new Date(\u00271995-12-17T03:24:00.012\u002B04:00\u0027));\r\nconst s2 = translate(123.45678, new Date(\u00271995-12-17T03:24:00.012\u002B04:00\u0027));\r\nresults1.push(s1 !== s2);","IsDeferred":false},{"Name":"compare declarative objects","Code":"const t1 = getTranslatable(123.45678, new Date(\u00271995-12-17T03:24:00.012\u002B04:00\u0027));\r\nconst t2 = getTranslatable(123.45678, new Date(\u00271995-12-17T03:24:00.012\u002B04:00\u0027));\r\nresults2.push(isEqual(t1, t2));","IsDeferred":false}]}