proposal-record-tuple
proposal-record-tuple copied to clipboard
ECMAScript proposal for the Record and Tuple value types. | Stage 2: it will change!
PR based on suggestions from @anba and @ljharb in #343 **Pro**: This approach reuses [validateandapplypropertydescriptor](https://tc39.es/ecma262/#sec-validateandapplypropertydescriptor) logic rather than reimplementing it. **Con**: Less clear to implementers how to implement this in...
per https://github.com/tc39/proposal-record-tuple/pull/135#discussion_r446541165 At the very least, I'd expect Records to have a `Symbol.toStringTag` of `"Record"`, which would `Object.prototype.toString.call(record)` produce `[object Record]`. However, `String(record)`, ``` `${record}` ```, etc, according to #135,...
- [x] [Spec text](https://tc39.es/proposal-record-tuple/) - [ ] Reviewers - [ ] @ljharb - [ ] @rkirsling - [ ] @brad4d - [ ] _You? Let `@rricard:mozilla.org` know on matrix if...
- RecordEqual: can this somehow be iterated with "for each" prose, instead of a loop with a counter? - RecordEqual/RecordSameValue/RecordSameValueZero don't return a Completion, so it doesn't need to be...
Main points: 1. I was quite confused by the [`ToString` table](https://tc39.es/proposal-record-tuple/#sec-tostring) until I saw #319; if we keep this behavior, we should add a note explaining it. 2. Shouldn't [`SameValueNonGeneric`](https://tc39.es/proposal-record-tuple/#sec-samevaluenonnumeric)...
(except for IsConcatSpreadable, which should be 23.1.3.2.1, but would need to be moved to its own imported file first)
Editorial: Changed /it's/ to /its/ in order to reflect possessive.
Hi, I fix a few grammatical errors and word spellings. Also, I revise some sentences to make them clearer and easy to read for people. I hope these changes will...
While writing spec text we found out that we could either allow writing new arbitrary props to the exotic record boxing object or simply disallow them. The champion group would...