Bit operations

Function

Description

uBitAnd

Bitwise AND operation

uBitOr

Bitwise OR operation




uBitAnd

Description

Bitwise AND operation

Syntax

number uBitAnd(value, ...)

Parameters

number value

A list of numeric arguments

Examples

Example 1

uBitAnd(10, 3) // returns "2"



uBitOr

Description

Bitwise OR operation

Syntax

number uBitOr(value, ...)

Parameters

number value

A list of numeric arguments

Examples

Example 1

uBitOr(10, 3) // returns "11"