File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -2441,7 +2441,7 @@ if (a.includes(name = prompt('Enter your name'))) {
|
2441 | 2441 | } else console.log(`Welcome.`); // executes when name specified is not in array.
|
2442 | 2442 | ```
|
2443 | 2443 | ### fromIndex is an optional second parameter in Array..includes()
|
2444 |
| -This mentions that the value to be checked using Array..includes() must be after the specified index. |
| 2444 | +This mentions that the value to be checked using Array..includes() must be from the specified index. |
2445 | 2445 |
|
2446 | 2446 | ```
|
2447 | 2447 | var pets = ['cat', 'dog', 'bat'];
|
|
You can’t perform that action at this time.
0 commit comments