3
let add = %raw("(a, b) => a + b")
%%raw("const a = 1")
⣿
React
Create a React component called 'App' if you want to render it here, then enable 'Auto-run'.Console
Add some 'Console.log' to your code and enable 'Auto-run' to see your logs here.// Generated by ReScript, PLEASE EDIT WITH CARE
var add = ((a, b) => a + b);
const a = 1
;
export {
add ,
}
/* Not a pure module */
Compiled successfully
0 Errors, 0 Warnings
ReScript Version
Syntax
Module-System
Loaded Libraries
- @rescript/react
- @rescript/core
- compiler-builtins
Warning Flags
+a-4-9-20-40-41-42-50-61-102