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

Commit 2796ec1

Browse files
committed
docs(filterFilter): add note about self-referencing objects in array
Relate #6655, #6319
1 parent 6997c1b commit 2796ec1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ng/filter/filter.js

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
* Selects a subset of items from `array` and returns it as a new array.
1010
*
1111
* @param {Array} array The source array.
12+
* <div class="alert alert-info">
13+
* **Note**: If the array contains objects that reference themselves, filtering is not possible.
14+
* </div>
1215
* @param {string|Object|function()} expression The predicate to be used for selecting items from
1316
* `array`.
1417
*

0 commit comments

Comments
 (0)