bitOr

Performs a bitwise logical OR operation.

bitOr(number1, number2) → returns numeric

Argument Reference

number1 numeric
Required

Integer

number2 numeric
Required

Integer

Examples
Sample code invoking the bitOr function

Uses the bitOr function to perform the logical OR operation on each pair of the corresponding bits

bitOr(5,3)

Expected Result: 7


Fork me on GitHub