Frontend/JavaScript

Bitwise OR(|)

섕걍 2022. 4. 5. 22:40

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_OR

 

Bitwise OR (|) - JavaScript | MDN

The bitwise OR operator (|) returns a 1 in each bit position for which the corresponding bits of either or both operands are 1s.

developer.mozilla.org

이 해 완! ! 

'Frontend > JavaScript' 카테고리의 다른 글

이벤트 버블링, 캡처링  (0) 2022.04.10
e.preventDefault();  (0) 2022.04.10
padStart();  (2) 2022.04.05
String.prototype.repeat()  (0) 2022.04.05
Math.abs()  (0) 2022.03.29