https://codingnote.cc/zh-sg/p/716164/
JavaScript for循环的终止问题