Created
September 4, 2018 23:03
-
-
Save hota1024/d1a54266b021b7b611a22d6d63ff63c7 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
String.prototype.f19t = function () { return this.charAt(0).toLocaleLowerCase() + this.slice(1, this.length - 1).length + this.charAt(this.length - 1).toLocaleLowerCase() } | |
console.log('Internationalization'.f19t()) // i18n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment