Last active
December 30, 2015 08:19
-
-
Save regepan/7802193 to your computer and use it in GitHub Desktop.
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
console.debug('正解!'.toString());// 正解! | |
String.prototype.toString = function(){ | |
return 'toStringを上書きしました!'; | |
} | |
console.debug('正解!'.toString());// toStringを上書きしました! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment