3
let add = (a, b) => a + b
let addFive = add(5, ...)
⣿
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
function add(a, b) {
return a + b | 0;
}
function addFive(extra) {
return 5 + extra | 0;
}
export {
add ,
addFive ,
}
/* 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