Syntax Lookup

Enter some language construct you want to know more about.
This is the char literal syntax.

A char literal is composed of two single quotes. Double quotes are reserved for the string type. Note that char is essentially an integer in JS since version 10.0.

Example

ReScriptJS Output
let one = '1';
let upperCaseA = 'A';
let lowerCaseA = 'a';
let unicode ='😀';
let escape = '\u1111'

References