+ 2

In math function of javascript 'm' for math should be capital??

7th Mar 2017, 6:36 AM
mukul
mukul - avatar
4 Réponses
+ 6
JS is case sensitive, so yes, if it is declared as Math (and it is) this is how you have to use it 😁
7th Mar 2017, 8:57 AM
Nikolay Nachev
Nikolay Nachev - avatar
+ 5
Yes
7th Mar 2017, 6:47 AM
Chirag Bhansali
Chirag Bhansali - avatar
+ 1
yes it's predefined class name so use Math
7th Mar 2017, 7:08 AM
Padala Ganga Prasad
Padala Ganga Prasad - avatar
0
yes
7th Mar 2017, 7:34 AM
Tushar Gupta
Tushar Gupta - avatar