Lidandan
Lidandan
这道题,真是一点都不知道啊!学习了!
Hello Tom, 昨天那道题会做了,这道题自然也就会做了,考的一个概念。 这道题,没什么意思。 期待新题
> ``` > const arr = str.match(/(\w)\1*/g); > const maxLen = Math.max(...arr.map(s => s.length)); > const result = arr.reduce((pre, curr) => { > if (curr.length === maxLen) { > pre[curr[0]]...
> > > ``` > > > const arr = str.match(/(\w)\1*/g); > > > const maxLen = Math.max(...arr.map(s => s.length)); > > > const result = arr.reduce((pre, curr) => {...
``` function random(n, data) { if (!Array.isArray(data)) return; let set = new Set(); let result = []; while(set.size < n) { let index = Math.floor(Math.random() * data.length); set.add(index); } for(let...
``` class Node { constructor(value,next) { this.value = value; this.next = next; } } class LinkList { constructor(value) { this.head = new Node(value); } add(newVal, val) { const newNode =...
链接打不开,不能切换章节了
https://liiked.github.io/VS-Code-Extension-Doc-ZH/#/extension-capabilities/common-capabilities?id=%e6%96%87%e4%bb%b6%e9%80%89%e6%8b%a9 > 在 2020年3月20日,上午9:37,yang 写道: > > > 链接大多数直接点击操作都无法找到内容,只有空白框架。感觉是框架设置的问题。长得非常像vuepress,但是是另一款docsify。 > > — > > You are receiving this because you commented. > Reply to this email directly, view it on...