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

Commit 3353fb8

Browse files
wiseleoNarretz
authored andcommitted
docs(orderBy): replace operator = with ===
Fix documentation error on line 20 incorrectly mentioning an assignment operator in a comparison operation. Code on line 235 uses strict comparison operator. Closes #11392 Closes #11393
1 parent 3a22c64 commit 3353fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/filter/orderBy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* Can be one of:
1818
*
1919
* - `function`: Getter function. The result of this function will be sorted using the
20-
* `<`, `=`, `>` operator.
20+
* `<`, `===`, `>` operator.
2121
* - `string`: An Angular expression. The result of this expression is used to compare elements
2222
* (for example `name` to sort by a property called `name` or `name.substr(0, 3)` to sort by
2323
* 3 first characters of a property called `name`). The result of a constant expression

0 commit comments

Comments
 (0)