let turtles = ['Leo','Raph','Mikey','Don']; console.log(...turtles);
let turtles = ['Leo','Raph','Mikey','Don']; let [first,second,...others] = turtles; console.log(first,second,others);
posted on 2018-06-15 16:47 沙滩海风 阅读(173) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 沙滩海风 Powered by .NET 9.0 on Kubernetes