Task

Show how to return more than one value from a function.




let addsub = (x, y) => {
  (x + y, x - y)
}
 
let (sum, difference) = addsub(33, 12)
 
Js.log2("33 + 12 = ", sum)
Js.log2("33 - 12 = ", difference)