Contents | JavaScript Language Reference
Used to divide two numbers and return only the remainder.
result %= expression The %= operator syntax has these parts: Part Description result Any variable. expression Any numeric expression.
The %= operator syntax has these parts:
Using the %= operator is exactly the same as specifying: result = result % expression For information on when a run-time error is generated by the %= operator, see the Operator Behavior table.
result = result % expression
Copyright © 1998 - C Point Pty Ltd. All Rights Reserved.