Created
April 9, 2019 14:33
-
-
Save loujaybee/160973a023193a6f3567772b87218671 to your computer and use it in GitHub Desktop.
Break IE10 with console.warn
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
| var toCurry = function (func) { | |
| return function (val) { | |
| func(val); | |
| } | |
| }; | |
| toCurry(console.warn)('sdfsdf'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment