{"ScriptPreparationCode":"function omit(obj, props) {\r\n const newObj = {};\r\n for (let prop in obj) {\r\n if (!props.includes(prop)) {\r\n newObj[prop] = obj[prop];\r\n }\r\n }\r\n return newObj;\r\n}\r\n\r\n","TestCases":[{"Name":"lodash omit","Code":"const myObj = {\r\n name: \u0027John\u0027,\r\n age: 30,\r\n city: \u0027New York\u0027,\r\n country: \u0027USA\u0027\r\n};\r\nconst newObj = _.omit(myObj, [\u0027city\u0027, \u0027country\u0027]);","IsDeferred":false},{"Name":"native function","Code":"const myObj = {\r\n name: \u0027John\u0027,\r\n age: 30,\r\n city: \u0027New York\u0027,\r\n country: \u0027USA\u0027\r\n};\r\nconst newObj = omit(myObj, [\u0027city\u0027, \u0027country\u0027]);","IsDeferred":false}]}