mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-19 01:55:51 +08:00

Substring indexes were all off by 1, creating an incorrect output. Also removed unnecessary `toUpperCase()` calls.
Substring indexes were all off by 1, creating an incorrect output. Also removed unnecessary `toUpperCase()` calls.