摘要: function getNearNum(i,n,len) { const left=Math.max(0,i-(n>>1)); const right=Math.min(left+n,len) return [left,right] } 阅读全文
posted @ 2020-04-09 17:54 无工时代 阅读(268) 评论(0) 推荐(0)