diff --git a/README.md b/README.md index dc18f52..292cc04 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # proposal-array-filtering -A proposal to add `Array.prototype.filterOut`. +A proposal to add `Array.prototype.filterReject`. ```js const array = [1, 2, 3, 4, 5]; @@ -8,8 +8,8 @@ const array = [1, 2, 3, 4, 5]; // filter keeps the items that return true. array.filter(i => (i < 3)); // => [1, 2]; -// filterOut removes the items that return true. -array.filterOut(i => (i < 3)); // => [3, 4, 5]; +// filterReject removes the items that return true. +array.filterReject(i => (i < 3)); // => [3, 4, 5]; ``` ## Champions diff --git a/index.html b/index.html index 7de43f5..a410a61 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ -Array Filtering