Why is Array.from() not defined as Array.prototype.from() just like Array.prototype.map()?

前端 未结 0 622
天命终不由人
天命终不由人 2021-02-04 15:12

There are other similar functions like Array.of() and Array.isArray() which are not defined on the Array prototype. I only difference I could find was that Array.of(),Array.isAr

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