The result of this method is a string primitive containing the value of the object with all characters converted to upper case.
The original string is converted from arbitrary case to upper case on a character by character basis.
The characters in the output string will be the upper case equivalents of the characters in the input string according to the rules defined by the Unicode 2.0 standard.
The Canonical Unicode 2.0 mapping will be used and therefore no special international character handling semantics take place. However non-ECMA compliant implementations may provided localization support not specified by ECMA 262.
This method is intentionally generic and may be applied to a variety of object types other than strings.
The effect of this method may depend on the locale settings in a fully localizable implementation.
Prev | Home | Next |
String.toString() | Up | String.valueOf() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |