匕首方法//each //遍歷list def list=['a','b','c'] list.each{e-> println e } //遍歷map,注意map是方括號def map=[name:"張三",age:19] ma.
確定! 回上一頁