var i;
for (i = categoryList.length - 1; i >= 0; i -= 1) {
var categoryValue=categoryList[i];
if (categoryValue.doNotDisplayForEMenu==\"true\" ) {
categoryList.splice(i, 1);
}
相关文章
- 02-18arrayLen
2024-02-18 17:08:52
var i;
for (i = categoryList.length - 1; i >= 0; i -= 1) {
var categoryValue=categoryList[i];
if (categoryValue.doNotDisplayForEMenu==\"true\" ) {
categoryList.splice(i, 1);
}