255 B
255 B
title, localeTitle
title | localeTitle |
---|---|
Finding a Remainder in JavaScript | 在JavaScript中查找剩余内容 |
在JavaScript中查找剩余内容
余数运算符%
给出了两个数的除法的余数。
var remainder = 11 % 3; //remainder gets the value 2