Change Language


Follow Navioo On Twitter

/=

Divides the value of the first item by the second item and assigns the total to the first item as a new value.

Syntax

valueA /= valueB

Example

var foo = 21;
var bar = 3;
foo /= bar; //now foo = 7;

Remarks

"valueA /= valueB" is shorthand for "valueA = valueA * valueB".

text_javascript Navioo_docs

Ajax Javascript feed

↑ Grab this Headline Animator