JavaScript:实现将列表向右旋转 k 个位置算法 function main () { let head = '' let k = '' let i = 0 let current = head while</