Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js assignment operators

x = 13 //Assigns value 13 to x
x += 13 // x = x + 13
x -= 13 // x = x - 13
x *= 13 // x = x * 13
x /= 13 // x = x / 13
x %= 13 // x = x % 13
x **= 13 // x = x ** 13
 
PREVIOUS NEXT
Tagged: #js #assignment #operators
ADD COMMENT
Topic
Name
7+8 =