Does Javascript filter preserve order?

后端 未结 0 1855
生来不讨喜
生来不讨喜 2021-02-11 12:07

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?

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