🌈 搜索
📅  最后修改于: 2022-03-11 14:53:31.758000             🧑  作者: Mango
when (x) { 1 -> print("x == 1") 2 -> print("x == 2") else -> { print("x no es 1 o 2") } }