mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 07:21:43 +00:00
8 lines
170 B
ReasonML
8 lines
170 B
ReasonML
let greet = (name) => "Hello " ++ name
|
|
let add = (x, y, z) => x + y + z
|
|
|
|
let main = (args) => {
|
|
Js.log(greet("world!")) // "Hello world!"
|
|
Js.log(add(1, 2, 3)) // 6
|
|
}
|