摘要: 不做解释,代码一看就懂 app.js import express from 'express' import config from './config' const app = express() app.use('/node_modules', express.static(config.no 阅读全文
posted @ 2020-08-11 15:21 同上一闪一闪 阅读(207) 评论(0) 推荐(0) 编辑
摘要: export default (arr, n) => { // 计数器 let max = 0 for (let i = 0, len = arr.length - 1; i < len; i++) { if (arr[i] 0) { if (i 0 && arr[1] 0) { max++ i++ 阅读全文
posted @ 2020-08-11 08:20 同上一闪一闪 阅读(145) 评论(0) 推荐(0) 编辑