// SIBLING: fun foo(a: Int): Int { var b: Int = 1 when { a > 0 -> { b = b + 1 } a < 0 -> { b = b - 1 } else -> { b = a } } println(b) return b }