aboutsummaryrefslogtreecommitdiff
path: root/files/fr/glossary/constructor
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/glossary/constructor')
-rw-r--r--files/fr/glossary/constructor/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/fr/glossary/constructor/index.html b/files/fr/glossary/constructor/index.html
index 05981a50d1..dc611fa830 100644
--- a/files/fr/glossary/constructor/index.html
+++ b/files/fr/glossary/constructor/index.html
@@ -1,10 +1,11 @@
---
title: Constructeur
-slug: Glossaire/Constructeur
+slug: Glossary/Constructor
tags:
- Glossaire
- scripts
translation_of: Glossary/Constructor
+original_slug: Glossaire/Constructeur
---
<p>Un <strong>constructeur</strong> est associé à un {{glossary("object","objet")}} d'une classe particulière qui a été instanciée. Le constructeur initialise cet objet et peut fournir un accès à ses informations privées. Le concept de constructeur peut s'appliquer à la plupart des langages de {{glossary("OOP","programmation orientée objet")}}. Dans l'essentiel, un constructeur en {{glossary("JavaScript")}} est en général déclaré lors de l'instance d'une {{glossary("Class","classe")}}.</p>