Skip to main content
8 events
when toggle format what by license comment
Jul 6, 2022 at 20:08 comment added Volatil3 includes make a strict comparison, how would it work here as includes returns false if matching item not found?
Jul 1, 2022 at 9:23 comment added thdoan This is the most performant solution: jsbench.me/mal528m9cl/1
May 28, 2021 at 9:38 comment added praveen seela it will fail when string is empty
Mar 31, 2021 at 3:13 comment added DORRITO This is EXACTLY what I needed, and a great modern answer. Upvote! To use further, assign this to a new variable then do whatever you need with it. Ex: myArray[newVar]
May 25, 2020 at 4:03 comment added Sourabh developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/…
Sep 1, 2018 at 1:55 review Late answers
Sep 1, 2018 at 2:17
Sep 1, 2018 at 1:40 review First posts
Sep 1, 2018 at 1:53
Sep 1, 2018 at 1:36 history answered user10302261 CC BY-SA 4.0