📜  将前两个数组元素复制到最后两个数组元素 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:30.933000             🧑  作者: Mango

代码示例1
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.copyWithin(2, 0);