We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c348fff commit 404071bCopy full SHA for 404071b
1-js/09-classes/05-extend-natives/article.md
@@ -59,7 +59,7 @@ let filteredArr = arr.filter(item => item >= 10);
59
*!*
60
// filterArr no es PowerArray, sino Array
61
*/!*
62
-alert(filteredArr.isEmpty()); // Error: filterArr.isEmpty no es una función
+alert(filteredArr.isEmpty()); // Error: filteredArr.isEmpty no es una función
63
```
64
65
Como puede ver, ahora `.filter` devuelve `Array`. Por lo tanto, la funcionalidad extendida ya no se pasa.
0 commit comments