| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| } | ||
|
|
||
| class ELDHistogram extends Histogram { | ||
| constructor(i) { super(i); } // eslint-disable-line no-useless-constructor |
There was a problem hiding this comment.
I know this has been discussed elsewhere but I can't remember the reason we're doing this.
Sorry, something went wrong.
There was a problem hiding this comment.
Yeah, that's a bug in the ECMAScript spec, it should be fixed by tc39/ecma262#2216.
Relevant spec section: https://tc39.es/ecma262/#sec-runtime-semantics-classdefinitionevaluation
If constructor is empty, then
If ClassHeritageopt is present, then
Let constructorText be the source text
constructor(...args) { super(...args); }
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: #36723 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #36723 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #36723 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #36723 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #36723 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
| Back | FazBrowse Home | New Git URL |
Checklist