Link to home
Start Free TrialLog in
Avatar of sduser1
sduser1Flag for United States of America

asked on

Calling constructor in javascript ES6 class

Hi,

I have one file which is written in traditional javascript. Trying to convert the file to ES6 class. Sending both the files. I am getting error on calling the function in the constructor.

Please check.

Error:
 Error: TypeError: mechanics.Debug.apply is not a function
baseClass.txt
TraditionalJS.txt
ES6Format.txt
ASKER CERTIFIED SOLUTION
Avatar of sduser1
sduser1
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial