5
let y = [1, 2]
let x = [4, 5, ...y]
let x2 = [4, 5, ...y, 7, ...y]
let x3 = [...y]
⣿
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
import * as Belt_Array from "./stdlib/belt_Array.js";
var y = [
1,
2
];
var x = Belt_Array.concatMany([
[
4,
5
],
y
]);
var x2 = Belt_Array.concatMany([
[
4,
5
],
y,
[7],
y
]);
var x3 = Belt_Array.concatMany([y]);
export {
y ,
x ,
x2 ,
x3 ,
}
/* 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