forEach中不要用splice哈

感谢 :https://www.cnblogs.com/this-xiaoming/p/9488504.html

原文地址:https://www.cnblogs.com/snowbxb/p/15572218.html