trimStart
at
concat
インデックス(負の数も可)の文字を返します。
str.at(index)
下記の値を入力するとサンプルに即時反映されます。
const
console
const text = "Hello"; console.log(text.at(0)); // "H" console.log(text.at(-1)); // "o"