可选
__namedParameters: { 可选
minutes?: number可选
seconds?: number可选
hours?: number可选
days?: numberconst fn = t.getMilliseconds;
fn(); // 0
fn({ seconds: 1 }); // 1000
fn({ seconds: 1.5 }); // 1500
fn({ seconds: 60 }); // 1000 * 60
fn({ minutes: 1 }); // 1000 * 60
fn({ minutes: 1.5 }); // 1000 * 90
fn({ minutes: 1 }); // === fn({ seconds: 60 })
fn({ minutes: 1.5 }); // === fn({ seconds: 90 })
fn({ hours: 1 }); // === fn({ minutes: 60 })
fn({ days: 1 }); // === fn({ hours: 24 })
fn({ days: 1.5 }); // === fn({ hours: 36 })
把天数、小时数,分钟数转换毫秒数