java script (variables)
Hello friends Welcome to next blog about to java script.. In this blog we discuss about java operators. first we learn how to assign value to variables.use "=" for assign values var x = 5 ; var y = 2 ; Add operation use this operation to add values. y=x+z multiplication operator ( * ) use this for multiplies numbers z=x*y Divide operator( / ) use this for divide numbers z=x/y Some other operations " - " => Subtraction " ** " => Exponentiation " % " => Modulus "++" => Increment "--" => Decrements Assignment Operators =, +=, -=, *=, /=, %=, **= + operator also use to add (concatenate) strings var txt1 = "saman" ; ...