diff --git a/src/sandbox/proxySandbox.ts b/src/sandbox/proxySandbox.ts index 7c56f20..2c909b4 100644 --- a/src/sandbox/proxySandbox.ts +++ b/src/sandbox/proxySandbox.ts @@ -14,7 +14,7 @@ import { getTargetValue, setCurrentRunningSandboxProxy } from './common'; function uniq(array: PropertyKey[]) { return array.filter(function filter(this: PropertyKey[], element) { return element in this ? false : ((this as any)[element] = true); - }, {}); + }, Object.create(null)); } // zone.js will overwrite Object.defineProperty