What does this code return? val x = 3; if (x > 2) x = 4 else x = x*2
val x = 3; if (x > 2) x = 4 else x = x*2
an error
4
6
3