{"ScriptPreparationCode":"var withoutObjectKeys = function (blacklist, object) {\r\n return Object.keys(object).reduce(function (acc, key) {\r\n return blacklist.includes(key) ? acc : {...acc, [key]: object[key]};\r\n }, {});\r\n};\r\n\r\nvar withoutObjectKeys2 = function (blacklist, object) {\r\n const clone = {...object};\r\n for (var key of blacklist) {\r\n delete clone[key];\r\n }\r\n};\r\n\r\nvar withoutObjectKeys3 = function (blacklist, object) {\r\n const clone = {};\r\n for (var key of Object.keys(object)) {\r\n if (!blacklist.includes(key)) {\r\n clone[key] = object[key];\r\n }\r\n }\r\n};\r\n\r\nvar original = {a: 1, b: 2, c: 3, d: 4, e: 5, f: 6, g: 8};\r\nvar keys = [\u0027a\u0027, \u0027c\u0027, \u0027e\u0027, \u0027g\u0027]","TestCases":[{"Name":"reduce","Code":"withoutObjectKeys(keys, original)","IsDeferred":false},{"Name":"clone \u0026 delete","Code":"withoutObjectKeys2(keys, original)","IsDeferred":false},{"Name":"foreach","Code":"withoutObjectKeys3(keys, original)","IsDeferred":false}]}