3
let a = Some(5) // compiles to 5
let b = None // compiles to undefined
⣿
React
Create a React component called 'App' if you want to render it here, then click 'Run' or enable 'Auto-run'.Console
Add some 'Console.log' to your code and click 'Run' or enable 'Auto-run' to see your logs here.// Generated by ReScript, PLEASE EDIT WITH CARE
var a = 5;
var b;
export {
a ,
b ,
}
/* No side effect */
Compiled successfully
0 Errors, 0 Warnings
ReScript Version
Syntax
Module-System
Loaded Libraries
- @rescript/react
- compiler-builtins
- @rescript/core
Warning Flags
+a-4-9-20-40-41-42-50-61-102