04 2024 档案
摘要:sidebar_position: 2 Linux 常用命令总结 Documents are groups of pages connected through: a sidebar previous/next navigation versioning Create your first Doc
阅读全文
摘要:sidebar_position: 2 Translate your site Let's translate docs/intro.md to French. Configure i18n Modify docusaurus.config.js to add support for the fr
阅读全文
摘要:sidebar_position: 1 Manage Docs Versions Docusaurus can manage multiple versions of your docs. Create a docs version Release a version 1.0 of your pro
阅读全文
摘要:sidebar_position: 5 Deploy your site Docusaurus is a static-site-generator (also called Jamstack). It builds your site as simple static HTML, JavaScri
阅读全文
摘要:sidebar_position: 1 Create a Page Add Markdown or React files to src/pages to create a standalone page: src/pages/index.js → localhost:3000/ src/pages
阅读全文
摘要:sidebar_position: 3 Create a Blog Post Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed... Create y
阅读全文
摘要:sidebar_position: 6 Congratulations! You have just learned the basics of Docusaurus and made some changes to the initial template. Docusaurus has much
阅读全文
摘要:sidebar_position: 0 ES2023新特性
阅读全文
摘要:sidebar_position: 0 ES2022新特性
阅读全文
摘要:sidebar_position: 3 ES2021新特性 2021 年 6 月 22 日,第 121 届 Ecma 国际(Ecma International)大会以远程会议形式召开。正式通过了 ES2021 标准。 这次又带来了哪些有趣的特性呢?让我们一起来了解下。 String.prototy
阅读全文
摘要:sidebar_position: 2 ES2020新特性 ES2020 已经发布了,一共出9个新特性,下面让我们一起来了解下。 String.prototype.matchAll() 可一次性取出所有匹配,但是返回的是一个遍历器(Iterator),而非数组。可以用for of循环取出。相对于返回
阅读全文
摘要:[key, Math.pow(value, 2)]); // [["prop1", 4], ["prop2", 100], ["prop3", 225]] ``` 我们已经转换了对象值,但我们只剩下一个数组,这时候我们就需要Object.fromEntries,它将数组转换回一个对象: ```js
阅读全文
摘要:sidebar_position: 0 ES2018新特性
阅读全文
摘要:sidebar_position: 0 ES2017新特性
阅读全文
摘要:sidebar_position: 0 ES2016新特性 本次更新改变的内容比较少,仅仅新增了includes()方法和简化幂运算的写法。 Array.prototype.includes includes() 方法用来判断一个数组是否包含一个指定的值,根据情况,如果包含则返回 true,否则返回
阅读全文
摘要:sidebar_position: 0 ES2015新特性
阅读全文