Solution Review: Mutable Integers
This lesson will explain the solution for the Mutable Integers exercise.
We'll cover the following...
Solution
Press + to interact
let x = ref(20);let y = ref(3);x := x^ + 5;y := y^ * 10;Js.log(x^);Js.log(y^);