Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SuperClass {
- constructor(){}
- async method() {
- return;
- }
- }
- class ExtendClass extends SuperClass {
- constructor() {
- super();
- }
- async method() {
- return super.method();
- }
- }
- SyntaxError: 'super' keyword unexpected here
- at Object.<anonymous> (Path/To/File.js:line:character)
Add Comment
Please, Sign In to add comment