Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

use 'to' prefix for method names #50

Merged
merged 1 commit into from
Dec 7, 2021
Merged

Conversation

acutmore
Copy link
Collaborator

@acutmore acutmore commented Dec 6, 2021

Updates the spec, polyfill and tests to use the names:

  • toReversed
  • toSorted
  • toSpliced
  • with

These are the names we plan to present to the committee for stage 3.

closes #10

@acutmore acutmore requested a review from rricard December 6, 2021 21:31
@rricard rricard merged commit 1eea20b into tc39:main Dec 7, 2021
@acutmore acutmore deleted the new-method-names branch December 7, 2021 20:29
petamoriken added a commit to petamoriken/float16 that referenced this pull request Dec 14, 2021
petamoriken added a commit to petamoriken/float16 that referenced this pull request Apr 4, 2022
petamoriken added a commit to petamoriken/float16 that referenced this pull request Apr 17, 2022
petamoriken added a commit to petamoriken/float16 that referenced this pull request Apr 30, 2022
petamoriken added a commit to petamoriken/float16 that referenced this pull request Jun 10, 2022
petamoriken added a commit to petamoriken/float16 that referenced this pull request Jun 26, 2022
petamoriken added a commit to petamoriken/float16 that referenced this pull request Jun 26, 2022
petamoriken added a commit to petamoriken/float16 that referenced this pull request Jul 25, 2022
petamoriken added a commit to petamoriken/float16 that referenced this pull request Dec 6, 2022
petamoriken added a commit to petamoriken/float16 that referenced this pull request Dec 6, 2022
* Add `Float16Array#withReversed`

* Add `Float16Array#withSorted`

* Add `Float16Array#withSpliced`

* Add `Float16Array#withAt`

* use 'to' prefix for method names

tc39/proposal-change-array-by-copy#50

* `.toSpliced` should throw a `TypeError` instead of `RangeError`

tc39/proposal-change-array-by-copy#70

* `.with` should convert `value` up front

tc39/proposal-change-array-by-copy#86

* Fix: `Float16Array#{toSorted, toSpliced}.length`

* Avoid userland re-entrance after a read in `Float16Array#spliced`

tc39/proposal-change-array-by-copy#89

* Remove `Float16Array#toSpliced`

tc39/proposal-change-array-by-copy#88 (comment)

* Optimize `Float16Array#toSorted`

* Add types of Change Array by Copy
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Names of functions
3 participants