简单实现 ES6 的相关 API
ES6
https://github.com/ddzy/ts-utility-plugins/tree/master/src/ddzy/utility/algorithm/es6-achieve
Name
Description
Source
doc
_const
模拟 const
const
源码
文档
_reflect
模拟 Reflect
Reflect
_map
模拟 Array.map
Array.map
_reduce
模拟 Array.reduce
Array.reduce
_filter
模拟 Array.filter
Array.filter
_every
模拟 Array.every
Array.every
_find
模拟 Array.find
Array.find
_startsWith
模拟 String.startsWith
String.startsWith
_some
模拟 Array.some
Array.some
_includes
模拟 Array.includes
Array.includes
_findIndex
模拟 Array.findIndex
Array.findIndex
Dictionary
模拟 Map
Map
_Promise
模拟 Promise
Promise
最后更新于 5年前