Skip to content

Commit

Permalink
docs: update Array.prototype.toSorted specification link (#16982)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic committed Mar 13, 2023
1 parent 3e1cf6b commit fd47998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/rules/array-callback-return.md
Expand Up @@ -35,7 +35,7 @@ This rule finds callback functions of the following methods, then checks usage o
* [`Array.prototype.reduceRight`](https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.reduceright)
* [`Array.prototype.some`](https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.some)
* [`Array.prototype.sort`](https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.sort)
* [`Array.prototype.toSorted`](https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toSorted)
* [`Array.prototype.toSorted`](https://tc39.es/ecma262/#sec-array.prototype.tosorted)
* And above of typed arrays.

Examples of **incorrect** code for this rule:
Expand Down

0 comments on commit fd47998

Please sign in to comment.