Javascript Basics: Arithmetic

April 26 2009, 8:39pm

Doing Arithmetic:

Here are soem operations for doing arithmetic

  • + adds strings together e.g. 220 + 20
  • - subtraction
  • * multiplication
  • / division
  • % Modulus
  • ++ increment
  • -- decrement
    
    


    

    
    
    
    

This will create the following: