摘要: function(value) { let newValue = ""; for(var i = 0 ; i < value.length; i++){ let textCount = 2; if(i%textCount == 0){ newValue += value.substring(i,i+ 阅读全文
posted @ 2023-01-10 16:44 保洁叔叔 阅读(13) 评论(0) 推荐(0) 编辑
摘要: function getNum(num){ return parseInt(num/ 10) * 10 + (num% 10 != 0 ? 10 : 0); } 阅读全文
posted @ 2023-01-10 16:38 保洁叔叔 阅读(31) 评论(0) 推荐(0) 编辑