Baseline Widely available
ëë¨¸ì§ ì°ì°ì(%
)ë ì¼ìª½ í¼ì°ì°ì를 ì¤ë¥¸ìª½ í¼ì°ì°ìë¡ ëë´ì ëì ë머ì§ë¥¼ 구í©ëë¤. ë¶í¸ë íì ì¼ìª½ í¼ì°ì°ìì ë¶í¸ë¥¼ ë°ë¦
ëë¤.
console.log(13 % 5);
// Expected output: 3
console.log(-13 % 5);
// Expected output: -3
console.log(4 % 2);
// Expected output: 0
console.log(-4 % 2);
// Expected output: -0
구문 ìì ìì í¼ì ìì ë머ì§
12 % 5; // 2
1 % -2; // 1
1 % 2; // 1
2 % 3; // 2
5.5 % 2; // 1.5
ìì í¼ì ìì ë머ì§
(-12 % 5) - // -2
(1 % 2) - // -1
(4 % 2); // -0
NaNì ëë¨¸ì§ Infinityì ë머ì§
Infinity % 2; // NaN
Infinity % 0; // NaN
Infinity % Infinity; // NaN
ëª
ì¸ ë¸ë¼ì°ì í¸íì± ê°ì´ 보기
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4