A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/String/toLowerCase below:

String.prototype.toLowerCase() - JavaScript | MDN

String.prototype.toLowerCase()

Baseline Widely available

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."
구문 매개변수

없음.

반환 값

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

설명

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

예제 toLowerCase() 사용하기
console.log("ALPHABET".toLowerCase()); // 'alphabet'
명세서 브라우저 호환성 같이 보기

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4