// 闭包 let act = {(val1: String, val2: String) -> String in return val1.appending(val2) } let result = act("https://", "chanpinxue.cn") print(result)
// 闭包 let act = {(val1: String, val2: String) -> String in return val1.appending(val2) } let result = act("https://", "chanpinxue.cn") print(result)