What would you do if you had a variable that wasn’t capitalized, and you wanted it to be? You could replace it with a hyphen, or add it to the declaration, but this is a lot of extra work that isn’t necessary.
The other thing tolowercase does is to lower the case of a string in some cases. This is useful because you can put special characters (like #) in it, but then you can go back and replace them with a dash.
This is a really great tool that has been around for a while.
I don’t think it’s as useful as it could be, but it can be handy for a lot of situations. If you have a variable that you don’t want to be called with upper case letters, you can simply replace the variable with a “lowercase” version, which will then work in all non-alphabetical contexts. I should also mention that there are some variables that you can’t change after they have been declared, such as window.
You can also use a variable as a substitute. This is usually used to replace a variable with a new variable.
One of the more useful uses of lowercase variables is when writing scripts. A variable is considered to be a script if it is defined in a script block, or can be accessed via window.variable. This is different than a normal variable, which is defined in the global scope. You can use a lowercase variable in a script block, but only if you pass in a script tag or an object with an inline script tag.
The reason the browser doesn’t allow you to use lowercase variables is because there’s no way to pass in a script tag or object with your script tag. You can’t use lowercase in scripts, which makes the code more readable. However, if you don’t want to, you can use a different syntax, which might actually be nicer.