08 2021 档案

摘要:function fix(num, length) { return ('' + num).length < length ? ((new Array(length + 1)).join('0') + num).slice(-length) : '' + num;} fix(1234, 8);// 阅读全文
posted @ 2021-08-21 15:07 郑州谷多软件 阅读(163) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示