A RetroSearch Logo

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

Search Query:

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

String.prototype.toLowerCase() - JavaScript | MDN

String.prototype.toLowerCase()

Baseline Widely available

La méthode toLowerCase() retourne la chaîne de caractères courante en minuscules.

Exemple interactif
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."
Syntaxe Valeur de retour

Une nouvelle chaîne de caractères qui est obtenue en passant la chaîne appelante en minuscules.

Description

La méthode toLowerCase() renvoie la valeur de la chaîne convertie en minuscules. toLowerCase() ne modifie pas la valeur de la chaîne courante.

Exemples
console.log("ALPHABET".toLowerCase()); // "alphabet"
Spécifications Compatibilité des navigateurs Voir aussi

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