Movatterモバイル変換


[0]ホーム

URL:


  1. 개발자를 위한 웹 기술
  2. JavaScript
  3. JavaScript 참고서
  4. 표준 내장 객체
  5. String
  6. String.prototype.toLowerCase()

This page was translated from English by the community.Learn more and join the MDN Web Docs community.

View in EnglishAlways switch to English

String.prototype.toLowerCase()

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨2015년 7월⁩.

String 값의toLowerCase() 메서드는 소문자로 변환된 이 문자열을 반환합니다.

시도해 보기

const sentence = "The quick brown fox jumps over the lazy dog.";console.log(sentence.toLowerCase());// Expected output: "the quick brown fox jumps over the lazy dog."

구문

js
toLowerCase()

매개변수

없음.

반환 값

소문자로 변환된 호출 문자열을 표현하는 새로운 문자열.

설명

toLowerCase() 메서드는 소문자로 변환된 문자열의값을 반환합니다.toLowerCase()는 문자열str 자체의값에는 영향을 주지 않습니다.

예제

toLowerCase() 사용하기

js
console.log("ALPHABET".toLowerCase()); // 'alphabet'

명세서

Specification
ECMAScript® 2026 Language Specification
# sec-string.prototype.tolowercase

브라우저 호환성

같이 보기

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp