{"ScriptPreparationCode":"red = (r, y) =\u003E {r[y] = true; return r;}\r\nclone = s =\u003E Object.keys(s).reduce(red, {})\r\nset1 = {a: true, b: true, c: true, d: true, e: true};\r\nadd1 = x =\u003E s =\u003E {\r\n if (s[x]) return s;\r\n var t = clone(s);\r\n t[x] = true; \r\n return t;\r\n}\r\n\r\nset2 = new Set([\u0027a\u0027,\u0027b\u0027,\u0027c\u0027,\u0027d\u0027,\u0027e\u0027])\r\nadd2 = x =\u003E s =\u003E {\r\n if (s.has(x)) return s;\r\n var t = new Set(s);\r\n t.add(x);\r\n return t;\r\n}","TestCases":[{"Name":"POJO","Code":"r1 = add1(\u0027aloha\u0027)(set1)","IsDeferred":false},{"Name":"Set","Code":"r2 = add2(\u0027aloha\u0027)(set2)","IsDeferred":false}]}