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
..
2025-02-19 22:35:39 -08:00
2019-06-20 23:34:41 -07:00
2025-02-19 22:35:39 -08:00
2025-02-19 22:35:39 -08:00
2023-11-11 18:27:54 -08:00
2016-12-20 11:27:02 -08:00
2023-11-11 18:27:54 -08:00
2022-01-15 13:39:41 -08:00
2025-02-19 22:35:39 -08:00
2025-02-19 22:35:39 -08:00
2025-02-19 22:35:39 -08: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
2023-11-12 21:06:23 -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
2025-02-19 22:35:39 -08:00
2025-02-19 22:35:39 -08:00