Created
August 6, 2010 10:37
-
-
Save pedrodelgallego/511158 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
//15.5.4.17 String.prototype.toLocaleLowerCase ( ) | |
// This function works exactly the same as toLowerCase except that its result is intended to | |
// yield the correct result for the host environment’s current locale, rather | |
// than a locale independent result. | |
////////////////////////////////////////////////////////////////////////////// | |
//CHECK#1 | |
if (String.prototype.toLocaleUpperCase.length !== 0) { | |
$ERROR('#2: String.prototype.toLocaleLowerCase.length === 0. Actual: '+String.prototype.toLocaleLowerCase.length ); | |
} | |
// | |
////////////////////////////////////////////////////////////////////////////// | |
////////////////////////////////////////////////////////////////////////////// | |
//CHECK#2 | |
if (String.prototype.toLocaleLowerCase.length !== 0) { | |
$ERROR('#2: String.prototype.toLocaleLowerCase.length === 0. Actual: '+String.prototype.toLocaleLowerCase.length ); | |
} | |
// | |
////////////////////////////////////////////////////////////////////////////// |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment