Comment on Improving EcmaScript5 OO with sugarparentComments−RaynosOP14ythe method fails for the exact same reason.If a single method calls a super method and that method calls another super method then it fails. Object.getPrototypeOf(this).method Always have one value and only one value, calling it more then once leads to infinite recursion.
Comments
the method fails for the exact same reason.
If a single method calls a super method and that method calls another super method then it fails.
Always have one value and only one value, calling it more then once leads to infinite recursion.