a = 1...5这样赋值,a不是数组类型,1...5操作是一种枚举类型。

a = ["1","2","3","4"],才是数组赋值模式。

posted on 2019-08-07 16:43  bluesky0318  阅读(78)  评论(0编辑  收藏  举报