bigbigbo

Results 8 comments of bigbigbo

- :clock8: 点击dadda图标可以直接使用词典

如果只是单纯解这道题的话,我这样做: ```js const res = ["A", "B", "C", "D"].reduce( (memo, item) => { const tmp = [...memo].reverse(); const idx = memo.length - tmp.findIndex(i => i.startsWith(item)) - 1; return [...memo.slice(0, idx...

> 我使用你的例子,产出的 dom 元素如下: > > ``` > > 删除 > > > > ``` > > 是符合预期的。是否有其他的信息输入呢? 我创建了一个可复现的例子: https://codesandbox.io/s/reverent-ramanujan-h3yyqr?file=/src/App.js

![image](https://user-images.githubusercontent.com/19587016/183546590-5cbb77e3-131f-4696-9a28-55aee3f96b24.png)

> 刚刚尝试了下,这个 vscode 插件貌似不能自动 fix?(我不是作者) > 原仓库在 https://github.com/lszhn/vscode-mdlint-plugin 您可以咨询一下。 > > 另外也可以尝试这个 eslint 插件,支持 fix: https://github.com/lint-md/eslint-plugin @yuzhanglong 好的,感谢回答

看到作者的昵称,就想起了我当年的模样 :smile: