mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 23:41:42 +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
|
|
}
|