Does Javascript filter preserve order?

后端 未结 0 1279
旧巷少年郎
旧巷少年郎 2021-02-11 12:18

I looked at the documentation and while looking at examples it looks like filter preserves order of the original list (though it returns a new one). Can I rely on that?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题