1.0.1 • Published 4 years ago
@bytedo/es.shim v1.0.1
es.shim
es.shim
提供了部分新API, 以及一些常用的扩展方法。具体如下:
- Obejct
- empty()
- Array.prototype
- flat()
- flatMap()
- item()
- Date
- isDate()
- Date.prototype
- getFullWeek()
- getWeek()
- format()
- String.prototype
- splice()
- htmlspecialchars()
- tohtml()
- xss()
- escape()
- item()
Number
- parse()
- fromString()
Promise
- defer()