diff options
author | Scttpr <charles.capelli@qonfucius.team> | 2021-03-11 19:42:46 +0100 |
---|---|---|
committer | Scttpr <charles.capelli@qonfucius.team> | 2021-03-11 19:42:46 +0100 |
commit | c398cf9346106ca067cf3e0eaecf89a68df39518 (patch) | |
tree | d1b0d20f2a2b3da418bde71b7b55e3cc5ffe0da2 | |
parent | fb3c0810cfd47d46ed784c6569759661fab3f0f3 (diff) | |
download | translated-content-c398cf9346106ca067cf3e0eaecf89a68df39518.tar.gz translated-content-c398cf9346106ca067cf3e0eaecf89a68df39518.tar.bz2 translated-content-c398cf9346106ca067cf3e0eaecf89a68df39518.zip |
fix: renamed constructor function to construct
-rw-r--r-- | files/fr/web/javascript/reference/global_objects/function/apply/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/fr/web/javascript/reference/global_objects/function/apply/index.html b/files/fr/web/javascript/reference/global_objects/function/apply/index.html index fe76177918..cd506e138f 100644 --- a/files/fr/web/javascript/reference/global_objects/function/apply/index.html +++ b/files/fr/web/javascript/reference/global_objects/function/apply/index.html @@ -86,7 +86,7 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Function/apply } var monTableau = [4, "Coucou monde !", false]; -var monInstance = MonConstructeur.constructor(monTableau); +var monInstance = MonConstructeur.construct(monTableau); console.log(monInstance.propriété1); // "Coucou monde !" console.log(monInstance instanceof MonConstructeur); // "true" |