Created
November 30, 2019 16:58
-
-
Save LuisMayo/cb0b914f0920f7b377cea49be5d08145 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
debugPrimitive = function (obj, fn) { | |
obj['_' + fn] = obj[fn]; | |
obj[fn] = function (arg) { | |
debugger; | |
this.fn(arg); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment