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 f9b37fb commit 6b60d83Copy full SHA for 6b60d83
Array_Methods.js
@@ -44,4 +44,10 @@ print("Every Method: \n");
44
let someMethod = New_Array.some(item => !isNaN(item)); // Test if some element in the array is a number, returns boolean value only
45
let someMethodBool = someMethod ? "Some element is a number" : "There is no number element";
46
print(someMethodBool);
47
-line();
+line();
48
+
49
+// Filter Method
50
+print("Filter Method: \n");
51
+New_Array.filter((item, index) =>
52
+ print("Is array index " + index + " a number? --> " + !isNaN(item))
53
+); // Return boolean values per array
0 commit comments