Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up vulnerability on function prototype in browser
We were calling the function with fn.apply(0, ...) which caused the `this` object to be a number, leaking the Number prototype into the environment and allowing access to outside variables. We instead now use an object with no prototype. It incidentally tackles part of #9 in the browser context.
- Loading branch information