Numbers and operators in JavaScript

avatar

image.png

After being away in Denmark for a week today I picked up my book "JavaScript for Kids" by Nick Morgan and studied the section about numbers and operators. I went to https://developers.google.com to work on some addition, subtraction, multiplication and division. It was like real time calculator. In the book the author explained how to get JavaScript do the addition BEFORE doing multiplication and division which would be the usual procedure. Apparently we have to use parentheses.



0
0
0.000
7 comments
avatar

Maybe learning to program could help kids to learn the priority order in mathematical operations in a funny way as they can see how useful it is.

And to you, @organduo, keep learning in the rate you are already doing it.

0
0
0.000