From 2a76c37d0e733dedf8ed87d1e7e46caf3c44667e Mon Sep 17 00:00:00 2001 From: SphinxKnight Date: Fri, 30 Jul 2021 20:18:17 +0200 Subject: Prepare JS French section for Markdown (#1574) * Rm IDs w/ [^h\d] id=" * Remove class="hidden" * Remove hidden for code blocks * rm summary classes * Use Note consistently * Remove sup * Rm code in pre * Fixes dd/dt/dl * Fix some more dd * Remove inline style and useless/craft from span/font * h2m report fixing - Consistent use of notes * h2m report fixing - Consistent use of warnings * h2m report fixing - reword one callout * h2m report fixing - array cruft spans hell * Cleaning the rest of docs for md conversion --- .../javascript/reference/global_objects/string/includes/index.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'files/fr/web/javascript/reference/global_objects/string/includes') diff --git a/files/fr/web/javascript/reference/global_objects/string/includes/index.html b/files/fr/web/javascript/reference/global_objects/string/includes/index.html index 3c8fe25fca..e3aba75116 100644 --- a/files/fr/web/javascript/reference/global_objects/string/includes/index.html +++ b/files/fr/web/javascript/reference/global_objects/string/includes/index.html @@ -16,8 +16,6 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/String/includes
{{EmbedInteractiveExample("pages/js/string-includes.html")}}
- -

Syntaxe

str.includes(chaîneRecherchée);
@@ -60,7 +58,7 @@ console.log(str.includes("ÊTRE"));       // false
 console.log(str.includes(""));       // true
 
-

Prothèse d'émulation (polyfill)

+

Prothèse d'émulation (polyfill)

Cette méthode a été ajoutée à la spécification ECMAScript 2015 et n'est peut-être pas encore disponible dans toutes les implémentations JavaScript.

-- cgit v1.2.3-54-g00ecf