Strings are one of the key data types in JavaScript: anything that has text as a value (or is interpreted as text) is a string. Strings are common in forms, but are encountered when dealing with any kind of text information: the name of a class, for example, is a string, as is the content of a text node.
字符串是JavaScript中的关键数据类型之一:任何以文本为值(或解释为文本)的东西都是字符串。 字符串在形式上很常见,但是在处理任何类型的文本信息时都会遇到:例如, 类的名称是字符串,文本节点的内容也是如此。
As such, manipulating and changing strings is very common in JavaScript. This reading list is a starting point for the most common methods for strings, although there are may more methods than those shown here, and the reading list will grow over time.
因此,在JavaScript中操纵和更改字符串非常普遍。 此阅读列表是最常用的字符串方法的起点,尽管可能有比此处显示的方法更多的方法,并且阅读列表会随着时间而增长。
Prerequisites: Operands and Operators
先决条件: 操作数和运算符
Time: 40 minutes
时间: 40分钟
翻译自: https://thenewcode.com/1100/Web-Developer-Reading-List-JavaScript-Strings