4
let coordinates = (10, 20, 30)
let (x, _, _) = coordinates
Js.log(x) // 10
⣿
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
console.log(10);
var coordinates = [
10,
20,
30
];
var x = 10;
export {
coordinates ,
x ,
}
/* Not a pure module */
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