diff --git a/js-types-n-oop.js b/js-types-n-oop.js index c59d78b..3e416a1 100755 --- a/js-types-n-oop.js +++ b/js-types-n-oop.js @@ -131,6 +131,14 @@ // Constructors +// +// A constructor is simply a function that "constructs" or populates an +// object. +// +// By convention constructor functions are capitalized (Pascal-case) +// +// Classic constructors are called with a "new" keyword which creates a +// bare instance and passes it to the function as the call context. // function A(){