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().
To pass a string parameter to Javascript, it must be converted using the function UTF8String().
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.