We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de2a98a commit 6d466eaCopy full SHA for 6d466ea
All Lessons/filterExample3.js
@@ -0,0 +1,6 @@
1
+//filter out the greater than 3 numbers inside array
2
+
3
+const arr = [5, 1, 3, 2, 6];
4
5
+const output = arr.filter((z) => z > 3);
6
+console.log(output);
0 commit comments