Created
March 3, 2023 12:44
-
-
Save rafaeltedesco/84cfdbb8564c1207d11e00d675b69994 to your computer and use it in GitHub Desktop.
Show all methods from a Prototype
This file contains hidden or 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
| // Where String.prototype could be replaced | |
| Object.getOwnPropertyNames(String.prototype) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment