I'm on Codecademy and I am learning JavaScript. I'm on substrings and I get how to do them, but I wander why substrings extracts characters from indexA up to but not including indexB. Why does it include indexA, but only up to indexB?
Please use the best layman's term for this, considering I don't have that much knowledge in this language (I'm only familiar with HTML & CSS).