Open Jasondavis19886 opened 1 year ago
var max = a if (a < b) max = b
// With else var max: Int if (a > b) { max = a } else { max = b }
// As expression val max = if (a > b) a else b
var max = a if (a < b) max = b // With else var max: Int if (a > b) { max = a } else { max = b } // As expression val max = if (a > b) a else b
var max = a if (a < b) max = b
// With else var max: Int if (a > b) { max = a } else { max = b }
// As expression val max = if (a > b) a else b