Syntax Lookup

Enter some language construct you want to know more about.

++

This is the string concatenation operator.

This operator concatenates two string values. It remains supported, but since ReScript 12 the unified + operator can also concatenate strings and is preferred in new code.

ReScriptJS Output
let greetings = "Hello " ++ "world!"