{"ScriptPreparationCode":null,"TestCases":[{"Name":"lodash omit","Code":"const a = { aa: \u0027oh\u0027, bb: \u0027my\u0027 };\r\nconst b = _.omit(a, \u0027aa\u0027);","IsDeferred":false},{"Name":"spread omit","Code":"const a = { aa: \u0027oh\u0027, bb: \u0027my\u0027 };\r\nconst { aa, ...b } = a;","IsDeferred":false},{"Name":"spread as compiled by babel","Code":"function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i \u003C sourceSymbolKeys.length; i\u002B\u002B) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) \u003E= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\r\n\r\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i \u003C sourceKeys.length; i\u002B\u002B) { key = sourceKeys[i]; if (excluded.indexOf(key) \u003E= 0) continue; target[key] = source[key]; } return target; }\r\n\r\nvar a = {\r\n aa: \u0027oh\u0027,\r\n bb: \u0027my\u0027\r\n};\r\n\r\nvar aa = a.aa,\r\n b = _objectWithoutProperties(a, [\u0022aa\u0022]);","IsDeferred":false}]}