1.0.0 • Published 10 years ago
bitwise-or v1.0.0
bitwise-or
Bitwise OR (|
) as a function. Just in case you ever need to pass the operation
to something else as a function.
Example
var bitwiseOR = require('bitwise-or');
bitwiseOR(14, 9);
// => 15
Installation
$ npm install bitwise-or
API
var bitwiseOR = require('bitwise-or');
bitwiseOR(x, y)
Performs the OR
operation on bits x
and y
.
1.0.0
10 years ago