Created
December 24, 2022 11:56
-
-
Save petamoriken/93fe737e2581a932356a546e61a127c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fetch Standard | |
// prototype pollution | |
Object.prototype.toJSON = () => ({ foo: "foo" }); | |
const response = Response.json({ bar: "bar" }); | |
console.log(await response.json()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment