摘要: // 等差数列求和法function sumArea (first, last) { return (first + last) * (last - first + 1) / 2 }sumArea(1,100) // 5050sumArea(200,300) // 25250 // 循环求和法fun 阅读全文
posted @ 2021-09-22 18:26 李健威 阅读(602) 评论(0) 推荐(0)
摘要: function getWord(name) { var wd = JSON.parse("{\"" + decodeURI(window.location.search).replace(/\?/, "").replace(/=/g,"\":\"").replace(/&/g,"\",\"") + 阅读全文
posted @ 2021-09-22 18:21 李健威 阅读(287) 评论(0) 推荐(0)