| .charCodeat() | The charCodeAt() method returns an integer between 0 and 65535 representing the UTF-16 code unit at the given index. |
| .codePointAt() | The codePointAt() method returns a non-negative integer that is the Unicode code point value. |
| .includes() | |
| .indexOf() | |
| .join() | |
| .length() | |
| .padStart() | |
| .replace() | The replace() method returns a new string with some or all matches of a pattern replaced by a replacement. The pattern can be a string or a RegExp, and the replacement can be a string or a function to be called for each match. If pattern is a string, only the first occurrence will be replaced. |
| .repeat() | |
| .slice() | |
| .split() | The split() method turns a String into an array of strings, by separating the string at each instance of a specified separator string. |
| .toUpperCase() | |
| .trim() | The trim() method removes whitespace from both ends of a string. Whitespace in this context is all the whitespace characters (space, tab, no-break space, etc.) and all the line terminator characters (LF, CR, etc.). |
| .trimEnd() | The trimEnd() method removes whitespace from the end of a string. trimRight() is an alias of this method. |
| .trimStart() | The trimStart() method removes whitespace from the beginning of a string. trimLeft() is an alias of this method. |
back slash followed by n, t,
or quote marks will escape the character
\n //new line
\t //tab
"A newline character is written like \"\\n\"."
“A newline character is written like "\n".”{% code title="Case styles" %}
camelCaseStyle
PascalCaseStyle
snake_case_style
kebab-case-style
Sentence case style
Title Case Style{% endcode %}