摘要:
function toLeft([first, ...rest]) { return [...rest, first]; } function toRight(arr) { return [arr.pop(), ...arr]; } const arr = [1, 2, 3, 4, 5]; cons 阅读全文
posted @ 2022-03-29 11:22
GameCat
阅读(668)
评论(0)
推荐(0)