I came across this when learning about arrays:
Fun fact: You can also access each individual character in a string the same way you do with arrays. For instance, you can write:
var hello = 'Hello World';
// Output: W
Why is the output W? I thought we count the spaces as well... cause if you find the length of the string 'Hello World', you get 11, meaning it counts the space...
This might be a dumb question haha but hopefully someone can explain why I don't count the spaces.