You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -232,6 +232,17 @@ Let's unveil the "mysteries":
232
232
}
233
233
```
234
234
235
+
Let's review it:
236
+
* First we convert the string to lowercase and after it we use <font color="red">.split()</font> method
237
+
238
+
* We use special array method <font color="red">.every()</font> to loop through array & perform our check. In fact,<font color="red">.every()</font>
239
+
method tests whether all elements pass the test or not which is implemented by provided function
240
+
241
+
* Here, provided function accepts two parameters: current letter and index. Read more about every function [here](https://www.geeksforgeeks.org/javascript-array-every-method/).
0 commit comments