Você pode chamar qualquer um dos métodos do objeto String em cima de uma string literal - JavaScript automaticamente converte a string literal em um objeto String temporário, chama o método, e então descarta o objeto String temporário.
You can call any of the methods of the String object on a string literal value-JavaScript automatically converts the string literal to a temporary String object, calls the method, then discards the temporary String object.
Uma string com os termos JavaScript que fazem parte da definição da função. Descrição
A string containing the JavaScript statements comprising the function definition. Description
Um nome de propriedade de um objeto pode ser qualquer string JavaScript válida, ou qualquer coisa que possa ser convertida em uma string, incluindo uma string vazia.
An object property name can be any valid JavaScript string, or anything that can be converted to a string, including the empty string.
Ao passar uma string de C para Javascript, ela deve ser convertida com a função UTF8String().
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.