Nate Fischer
ea57f4ee78
refactor: prefer includes() over indexOf()
...
No change to logic. This swaps out Array.prototype.indexOf in favor for
Array.prototype.includes() to simplify logic. This does the same for the
equivalent String.prototype functions.
Test: npm test
2025-03-08 13:48:44 -08:00
..
2022-02-24 19:18:29 -08:00
2023-11-11 18:27:54 -08:00
2025-02-19 22:35:39 -08:00
2017-09-22 21:27:42 -07:00
2017-08-11 11:03:13 -07:00
2019-06-20 23:34:41 -07:00
2025-02-22 00:48:06 -08:00
2025-02-19 22:35:39 -08:00
2025-03-08 13:48:44 -08:00
2025-02-19 22:35:39 -08:00
2017-08-11 11:03:13 -07:00
2023-11-11 18:27:54 -08:00
2016-12-20 11:27:02 -08:00
2025-02-20 00:32:19 -08:00
2023-11-11 18:27:54 -08:00
2025-03-08 13:48:44 -08:00
2019-07-12 12:36:55 -07:00
2022-01-15 13:39:41 -08:00
2025-02-19 22:35:39 -08:00
2017-08-11 11:03:13 -07:00
2025-03-08 13:48:44 -08:00
2025-02-19 22:35:39 -08:00
2025-02-19 22:35:39 -08:00
2017-08-11 11:03:13 -07:00
2025-02-19 22:35:39 -08:00
2023-11-11 18:27:54 -08:00
2023-11-11 18:27:54 -08:00
2017-01-07 22:40:38 -08:00
2023-11-12 21:06:23 -08:00
2022-01-15 13:09:02 -08:00
2025-03-08 13:48:44 -08:00
2018-06-27 00:02:32 -07:00
2025-02-19 22:35:39 -08:00
2025-02-19 22:35:39 -08:00
2018-11-08 23:00:22 -08:00
2017-08-11 11:03:13 -07:00
2025-02-19 22:35:39 -08:00
2025-02-19 22:35:39 -08:00
2025-03-08 13:48:44 -08:00
2017-10-17 19:25:09 -07:00
2025-03-08 13:48:44 -08:00