diff options
Diffstat (limited to 'files/fr/web/javascript/reference/errors')
-rw-r--r-- | files/fr/web/javascript/reference/errors/cant_assign_to_property/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/fr/web/javascript/reference/errors/cant_assign_to_property/index.html b/files/fr/web/javascript/reference/errors/cant_assign_to_property/index.html index ded05f9d44..29b72aaa47 100644 --- a/files/fr/web/javascript/reference/errors/cant_assign_to_property/index.html +++ b/files/fr/web/javascript/reference/errors/cant_assign_to_property/index.html @@ -35,7 +35,7 @@ TypeError: Cannot create property 'x' on {y} (Chrome) var foo = "my string"; // The following line does nothing if not in strict mode. -foo.bar = {}; // <span class="message-body-wrapper"><span class="message-flex-body"><span class="devtools-monospace message-body">TypeError: can't assign to property "bar" on "my string": not an object</span></span></span> +foo.bar = {}; // TypeError: can't assign to property "bar" on "my string": not an object </pre> <h3 id="Exemple_valide">Exemple valide</h3> |