diff options
author | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-03-11 19:53:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-11 19:53:49 +0100 |
commit | 3d8d4fef4402f5df76c13b28d1515d290c4f7f91 (patch) | |
tree | d1b0d20f2a2b3da418bde71b7b55e3cc5ffe0da2 | |
parent | fb3c0810cfd47d46ed784c6569759661fab3f0f3 (diff) | |
parent | c398cf9346106ca067cf3e0eaecf89a68df39518 (diff) | |
download | translated-content-3d8d4fef4402f5df76c13b28d1515d290c4f7f91.tar.gz translated-content-3d8d4fef4402f5df76c13b28d1515d290c4f7f91.tar.bz2 translated-content-3d8d4fef4402f5df76c13b28d1515d290c4f7f91.zip |
Merge pull request #109 from Scttpr/fix/issue#104
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" |