Closed sh977218 closed 6 years ago
Finding this issue helped me solve my own problem so thank you, however, the docs do explicitly say spaces are not allowed:
The name should contain only alphanumerics, underscores and hyphens.
I turned storage off and the space still broke it for me, so my assumption is that your assumption is wrong :)
My assumption is that is using {}.key instead of {}[key]. because [key] will work with key that has space, but .key will not. Thank you for letting me know that API says it. I'll close this.
you can't use dot notation with variable names ;) it has to be using square brackets or it wouldn't be working at all
If the tour's name has space in it. Tour will not work. My assumption is the local storage retrieve the value using the dot notation ( localStorage.key ). If key has space in it, game over. It should be localStorage[key].