FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: add toSorted() explanation and examples. by AlexNT-maker · Pull Request #3963 · javascript-tutorial/en.javascript.info · GitHub

feat: add toSorted() explanation and examples. - #3963

Open
AlexNT-maker wants to merge 1 commit into
javascript-tutorial:masterfrom
AlexNT-maker:patch-1
Open

feat: add toSorted() explanation and examples.#3963
AlexNT-maker wants to merge 1 commit into
javascript-tutorial:masterfrom
AlexNT-maker:patch-1

Conversation

Copy link
Copy Markdown
  • Briefly explains the concept of immutability and why mutating original data is avoided in modern JS.
  • Introduce toSorted() as the modern alternative to sort() .
  • Includes a runnable code block (js run) demonstrating how the original array remains untouched compared to the new sorted array.

- Briefly explains the concept of immutability and why mutating original data is avoided in modern JS.
- Introduce` toSorted()` as the modern alternative to `sort()` .
- Includes a runnable code block (`js run`) demonstrating how the original array remains untouched compared to the new sorted array.
javascript-translate-bot added the review needed Review needed, please approve or request changes label May 21, 2026
javascript-translate-bot requested review from a team May 21, 2026 13:18

CLAassistant commented May 21, 2026
edited
Loading

Copy link
Copy Markdown


All committers have signed the CLA.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review needed Review needed, please approve or request changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL