We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling safeEval causes a constructor property to be added to Object in the caller's realm:
safeEval
constructor
Object
console.log(Object.getOwnPropertyDescriptor(Object, 'constructor')); console.log(safeEval('42')); console.log(Object.getOwnPropertyDescriptor(Object, 'constructor'));
Output:
undefined 42 { value: undefined, writable: true, enumerable: true, configurable: true }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Calling
safeEval
causes aconstructor
property to be added toObject
in the caller's realm:Output:
The text was updated successfully, but these errors were encountered: