{"ScriptPreparationCode":null,"TestCases":[{"Name":"Lodash","Code":"const obj = {\r\n a:1,\r\n b:1,\r\n c:1,\r\n d:1,\r\n e:1,\r\n f:1,\r\n g:1,\r\n h:1,\r\n i:1,\r\n}\r\n\r\nconst n = _.omit(obj, [\u0027a\u0027,\u0027d\u0027,\u0027i\u0027]);","IsDeferred":false},{"Name":"Object desctruct","Code":"const obj = {\r\n a:1,\r\n b:1,\r\n c:1,\r\n d:1,\r\n e:1,\r\n f:1,\r\n g:1,\r\n h:1,\r\n i:1,\r\n}\r\n\r\n\r\nconst omit = (originalObj = {}, keysToOmit = []) =\u003E \r\n Object.fromEntries(\r\n Object.entries(originalObj)\r\n .filter(([key]) =\u003E !keysToOmit.includes(key))\r\n)\r\n\r\nconst n = omit(obj, [\u0027a\u0027,\u0027d\u0027,\u0027i\u0027]);","IsDeferred":false},{"Name":"rest operator","Code":"const obj = {\r\n a:1,\r\n b:1,\r\n c:1,\r\n d:1,\r\n e:1,\r\n f:1,\r\n g:1,\r\n h:1,\r\n i:1,\r\n}\r\n\r\nconst { a, d, i, ...n } = obj;","IsDeferred":false}]}