base value of super reference indicates the prototype object of the current derived class

Yusuke Suzuki utatane.tea at
Fri Jun 29 01:16:45 PDT 2012

Hello everyone,

In the current draft, Super Reference is made with base value is result of
calling GetHomeObject of env.
But, HomeObject is prototype of derived class, we cannot find method of

So for example,

class Base {
  say() {

class Derived extends Base {
  say() {

let instance = new Derived;


then, because base of super reference becomes Derived.prototype,
console.log('derived') is executed recursively and max recursion limit
exceeded error is thrown.

So I suggest that using baseValue.[[Prototype]] for base of super reference.

If I missed something, I would appreciate it if you would inform me.

This is 5th mail I sent because 4 mails are blocked 12 hours ago. Sorry if
3 duplicate mails are delivered after this mail.
My mail to es-discuss(without reply) is basically blocked... What should I
do to pass the filter?

Yusuke Suzuki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list