aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web
diff options
context:
space:
mode:
authorScttpr <charles.capelli@qonfucius.team>2021-03-11 19:42:46 +0100
committerScttpr <charles.capelli@qonfucius.team>2021-03-11 19:42:46 +0100
commitc398cf9346106ca067cf3e0eaecf89a68df39518 (patch)
treed1b0d20f2a2b3da418bde71b7b55e3cc5ffe0da2 /files/fr/web
parentfb3c0810cfd47d46ed784c6569759661fab3f0f3 (diff)
downloadtranslated-content-c398cf9346106ca067cf3e0eaecf89a68df39518.tar.gz
translated-content-c398cf9346106ca067cf3e0eaecf89a68df39518.tar.bz2
translated-content-c398cf9346106ca067cf3e0eaecf89a68df39518.zip
fix: renamed constructor function to construct
Diffstat (limited to 'files/fr/web')
-rw-r--r--files/fr/web/javascript/reference/global_objects/function/apply/index.html2
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"