Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript variable shortcuts

// adds 1 to A
A++;
// subtracts 1 from A
A--;
// adds B to A
A += B;
// subtracts B from A
A -= B;
// multiplies A by B
A *= B;
// devides A by B
A = B;
 
PREVIOUS NEXT
Tagged: #javascript #variable #shortcuts
ADD COMMENT
Topic
Name
5+3 =