/
githubmirror
/
dayjs
Обзор
Документация
Войти
/
githubmirror
/
dayjs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/plugin/toArray/index.js
14 строк
218 B
iamkun
fix: Move toObject, toArray API to separate plugin from core
07 мар 2019, 08:21
07 мар 2019, 08:21
40a3431
Код
Авторство
О чём код?
export default (o, c) => { const proto = c.prototype proto.toArray = function () { return [ this.$y, this.$M, this.$D, this.$H, this.$m, this.$s, this.$ms ] } }