Caps


#1

Why are caps so important?


#2

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

cammelCase

to improve readability.


#3

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


#4

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.


#5

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