diff --git a/CHANGES.md b/CHANGES.md index 86394dfcc0..4e31e6fdb7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -51,7 +51,7 @@ f.called = false; | Name | Example | Substitute | Note | | -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| Fallback initialisers | `f.x = f.x \| init` | `if (!f.x) f.x = init` | | +| Fallback initialisers | `f.x = f.x \|\| init` | `if (!f.x) f.x = init` | | | Nested, undeclared expandos |
|var N = {};N.X.Y = {}
| All intermediate expandos have to be assigned. Closure feature. | | Constructor function whole-prototype assignment |var N = {};N.X = {};N.X.Y = {}
|C.prototype = {
m: function() { }
n: function() { }}
| Constructor function feature. See note at end. | | Identifier declarations |C.prototype.m = function() { }C.prototype.n = function() { }
|class C {
constructor() {
/\** @type {T} */
identifier;
}}
| Closure feature. |class C {
/\** @type {T} */
identifier;
constructor() { }}