Syntax Lookup

Enter some language construct you want to know more about.

*

This is the unified multiplication operator.

Since ReScript 12, * works with int, float, and bigint. The compiler specializes the operator from its operands.

ReScriptJS Output
let intResult = 2 * 3
let floatResult = 2.5 * 3.0

References