You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'use strict';classChildextendsBuffer{constructor(n){super(n);}foo(){console.log('gotcha!');}}letchild=newChild(4);child.foo();//=> TypeError: child.foo is not a function
I'm not sure how difficult is this problem to fix, but I would be happy if the above code works...