摘要:
export function bytesToSize(bytes){ if (bytes 0) return '0 B' let k = 1024, // or 1000 sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'], 阅读全文
摘要:
let today = new Date()function InitArray () { this.length = arguments.length for (let i = 0; i < this.length; i++) this[i + 1] = arguments[i]}let date 阅读全文