1、// 计算元素的个数,空格和符号都要算上 let temp = countElements("NYH1006") 2、swith语句中,使用fallthrough关键字执行下一case语句 3、函数的使用: