07:42 | <sideshowbarker> | so I’m working resolving https://github.com/mdn/content/issues/5647 |
07:43 | <sideshowbarker> | …and I am reading https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#strict_mode |
07:44 | <sideshowbarker> | …and there I read:
|
07:44 | <sideshowbarker> | …but I am trying to find the part of the ES spec which states that requirement |
07:45 | <sideshowbarker> | at https://tc39.es/ecma262/multipage/ecmascript-language-source-code.html#sec-strict-mode-code, I find:
|
07:46 | <sideshowbarker> | …which I realize is a non-normative re-statement of that actual requirements — but anyway, that does not explicitly say anything similar about the body of a class |
07:52 | <sideshowbarker> | aha nevermind I think I found it myself: https://tc39.es/ecma262/multipage/ecmascript-language-functions-and-classes.html#prod-ClassExpression |
07:52 | <sideshowbarker> | …which of course is all obvious in hindsight |
12:18 | <jmdyck> | i.e., the fact that "the body of a class" is included in "All parts of a ClassDeclaration or a ClassExpression" ? |
14:22 | <sideshowbarker> | jmdyck: yes, that |