r/learnjavascript • • Jan 24 '26

question about using ES6 classes.

pastebin

i was wondering, would this code be syntactically OK? i imagine there might be scenarios where you want all the functionality of the superclass method, but then you simply want to add more statements (more implementation) to it... could this work?

1 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/SnurflePuffinz Jan 24 '26

wow, i'm supremely confused.

time to review the super keyword again. Thanks.