24.165. String.fromCharCode( ): create a string from character encodingsECMAScript v124.165.1. SynopsisString.fromCharCode(c1, c2, ...) 24.165.1.1. Arguments
24.165.1.2. ReturnsA new string containing characters with the specified encodings. 24.165.2. DescriptionThis static method provides a way to create a string by specifying the individual numeric Unicode encodings of its characters. Note that as a static method, fromCharCode( ) is a property of the String( ) constructor and is not actually a method of strings or String objects. String.charCodeAt( ) is a companion instance method that provides a way to obtain the encodings of the individual characters of a string. 24.165.3. Example// Create the string "hello" var s = String.fromCharCode(104, 101, 108, 108, 111); 24.165.4. See AlsoString.charCodeAt( ) |