Why are caps so important?

that is a very broad question, i assume you mean something like:


to improve readability.

Some more like this: console.log(Math.floor(Math.ceil(Math.random()*43.8)));

In my previous attempt, i left out the caps for Math and it didnt work

the person who implemented the Math decide to use uppercase first letter. Some programmers prefer it that way, and JS has a lot of code from before cammelcase become recommended, so some libraries use different capitalization.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.