Created
November 15, 2022 12:33
-
-
Save cdcharlebois/2a1ea75b6d8aa4a0a4fd5e5c29f7148d 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
window.a = () => {console.log('hello')} | |
const beforeFunc = (otherFunc) => { | |
return () => { | |
console.log('me first'); | |
otherFunc(); | |
} | |
} | |
window.a = beforeFunc(window.a); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment