Guest User

Untitled

a guest
Apr 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. //a constructor which does not calls super yields an error
  2.  
  3. class Er extends Foo {
  4. constructor() {}
  5. }
  6.  
  7. // missing super() call in constructor - doesn't even "compile"
Add Comment
Please, Sign In to add comment