Skip to content

Instantly share code, notes, and snippets.

@samul-1

samul-1/js Secret

Created May 2, 2021
Embed
What would you like to do?
const p = Array.prototype.push
Array.prototype.push = function() {
p.call(this, ({passed: true, assertion: "blahblah"}))
}
Object.freeze(Array.prototype)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment