aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/javascript/reference/global_objects/symbol/match/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/javascript/reference/global_objects/symbol/match/index.md')
-rw-r--r--files/fr/web/javascript/reference/global_objects/symbol/match/index.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/fr/web/javascript/reference/global_objects/symbol/match/index.md b/files/fr/web/javascript/reference/global_objects/symbol/match/index.md
index ec609b6c6a..9295c1e6bb 100644
--- a/files/fr/web/javascript/reference/global_objects/symbol/match/index.md
+++ b/files/fr/web/javascript/reference/global_objects/symbol/match/index.md
@@ -34,7 +34,7 @@ Le code suivant renverra une exception {{jsxref("TypeError")}} :
// et que Symbol.match n'a pas été modifié.
```
-Cependant, si `Symbol.match` vaut `false`, cette vérification `isRegExp` indiquera que l'objet à prendre en compte n'est pas une expression rationnelle. Les méthodes `startsWith` et `endsWith` ne déclencheront donc pas d'exception `TypeError`.
+Cependant, si `Symbol.match` vaut `false`, cette vérification `isRegExp` indiquera que l'objet à prendre en compte n'est pas une expression rationnelle. Les méthodes `startsWith` et `endsWith` ne déclencheront donc pas d'exception `TypeError`.
```js
var re = /toto/;
@@ -48,7 +48,7 @@ re[Symbol.match] = false;
| Spécification | État | Commentaires |
| -------------------------------------------------------------------------------- | ---------------------------- | -------------------- |
| {{SpecName('ES2015', '#sec-symbol.match', 'Symbol.match')}} | {{Spec2('ES2015')}} | Définition initiale. |
-| {{SpecName('ESDraft', '#sec-symbol.match', 'Symbol.match')}} | {{Spec2('ESDraft')}} |   |
+| {{SpecName('ESDraft', '#sec-symbol.match', 'Symbol.match')}} | {{Spec2('ESDraft')}} | |
## Compatibilité des navigateurs