JS的splice()方法在for循环中使用可能会遇到的坑

转载自:https://blog.csdn.net/a727911438/article/details/55224532

另外,可参考 数组塌陷现象 : https://blog.csdn.net/thunderevil35/article/details/80514680

 

原文地址:https://www.cnblogs.com/happyWolf666/p/10871380.html