From 6fbf04921f3e7b6d77c6cd6b8830f79bcc217338 Mon Sep 17 00:00:00 2001 From: Andy Harrison Date: Wed, 27 Feb 2019 14:14:26 -0500 Subject: [PATCH] Update Class.js --- Class.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Class.js b/Class.js index af23439..57d215c 100644 --- a/Class.js +++ b/Class.js @@ -66,7 +66,7 @@ // 4) Possibly if the prototype chain has been screwed with if(this.constructor === newClass.prototype.constructor){ - //this function is the constructor of the new instance (i.e., it's not a super-class constructor) + //this function is the constructor of the new instance (i.e., it's not a parent class's constructor) defineProperty(this, "constructor", newClass, true, false, true); }