JavaScript文字列toLowerCase
startsWith

toLowerCase文字列

toUpperCase

文字列を小文字に変換します。

構文

str.toLowerCase()

使用例

下記の値を入力するとサンプルに即時反映されます。

const
console
toLowerCase
const text = "Hello WORLD";
console.log(text.toLowerCase());   // "hello world"