-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
4 lines (4 loc) · 24.3 KB
/
index.html
1
2
3
4
<!DOCTYPE html><html><head><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta charset="utf-8"><title>learn es6</title><meta name="description" content=""><meta name="author" content=""><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1"><link rel="stylesheet" href="./assets/css/bulma.min.css"><link rel="stylesheet" href="./assets/css/app.css"><!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]--><link rel="shortcut icon" href=""></head><body dir="ltr"><nav class="columns navbar"><div class="column logo is-3 is-offset-1"><a class="is-brand" href="./index.html">learn es6</a></div></nav><div class="columns content"><div class="column is-2-desktop is-3-widescreen is-hidden-touch"></div><div class="column article-container is-11-tablet is-8-desktop is-6-widescreen"><div class="breadcrumb-area"><a href="./index.html" class="breadcrumb-item">Home</a></div><h1 class="article-title">learn es6</h1><div class="article"><h2>Table of Contents</h2><ul class="chapter-area"><li class="chapter-item"><a href="./chapters01/index.html">第一章 ECMAScript 6 简介</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters01/base-js.html">js基础前置知识</a></li><li class="chapter-item"><a href="./chapters01/base-es.html">es基础前置知识</a></li><li class="chapter-item"><a href="./chapters01/Babel.html">通过Babel使用ES6</a></li><li class="chapter-item"><a href="./chapters01/Traceur.html">通过Traceur使用ES6</a></li><li class="chapter-item"><a href="./chapters01/stage-00.html">Strawman 阶段的 proposals</a></li><li class="chapter-item"><a href="./chapters01/stage-01.html">Proposal 阶段的 proposals</a></li><li class="chapter-item"><a href="./chapters01/stage-02.html">Draft 阶段的 proposals</a></li><li class="chapter-item"><a href="./chapters01/active-proposals.html">Candidate 阶段的 proposals</a></li><li class="chapter-item"><a href="./chapters01/stage-04.html">Finished 阶段的 proposals</a></li></ul><li class="chapter-item"><a href="./chapters02/index.html">第二章 let和const命令</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters02/base.html">前置知识了解</a></li><li class="chapter-item"><a href="./chapters02/let.html">let 命令</a></li><li class="chapter-item"><a href="./chapters02/const.html">const 命令</a></li><li class="chapter-item"><a href="./chapters02/statement-details.html">语句进阶说明</a></li></ul><li class="chapter-item"><a href="./chapters03/index.html">第三章 变量的解构赋值</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters03/base.html">基础数据结构</a></li><li class="chapter-item"><a href="./chapters03/complex.html">复杂数据结构</a></li><li class="chapter-item"><a href="./chapters03/parentheses.html">圆括号问题</a></li><li class="chapter-item"><a href="./chapters03/use.html">用途</a></li></ul><li class="chapter-item"><a href="./chapters04/index.html">第四章 字符串的扩展</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters04/unicode.html">字符的 Unicode 表示法</a></li><li class="chapter-item"><a href="./chapters04/prototype-function-extend.html">原型对象方法扩展</a></li><li class="chapter-item"><a href="./chapters04/instance-function-extend.html">实例对象方法扩展</a></li><li class="chapter-item"><a href="./chapters04/template-string.html">模板字符串</a></li><li class="chapter-item"><a href="./chapters04/string-Iterator.html">字符串的遍历器接口</a></li><li class="chapter-item"><a href="./chapters04/tag-template.html">标签模板</a></li></ul><li class="chapter-item"><a href="./chapters05/index.html">第五章 正则的扩展</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters05/constructor.html">RegExp 构造函数</a></li><li class="chapter-item"><a href="./chapters05/base.html">RegExp 基础使用</a></li><li class="chapter-item"><a href="./chapters05/prototype-attribute.html">RegExp 原型属性</a></li><li class="chapter-item"><a href="./chapters05/modifier.html">RegExp 修饰符</a></li><li class="chapter-item"><a href="./chapters05/assert.html">RegExp 断言</a></li><li class="chapter-item"><a href="./chapters05/string-with-regExp.html">String中正则相关方法</a></li><li class="chapter-item"><a href="./chapters05/named-group-matching.html">具名组匹配</a></li><li class="chapter-item"><a href="./chapters05/unicode-attribute-class.html">Unicode 属性类</a></li></ul><li class="chapter-item"><a href="./chapters06/index.html">第六章 数值的扩展</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters06/base-notation.html">Number 进制表示法</a></li><li class="chapter-item"><a href="./chapters06/prototype-attribute.html">Number 原型属性</a></li><li class="chapter-item"><a href="./chapters06/base-function-extend.html">Number 对象方法扩展</a></li><li class="chapter-item"><a href="./chapters06/prototype-function-extend.html">Number 原型对象方法扩展</a></li><li class="chapter-item"><a href="./chapters06/math-extension.html">math 对象扩展</a></li><li class="chapter-item"><a href="./chapters06/exponent-operator.html">指数运算符</a></li></ul><li class="chapter-item"><a href="./chapters07/index.html">第七章 函数的扩展</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters07/arrow-function.html">箭头函数</a></li><li class="chapter-item"><a href="./chapters07/strict-mode.html">严格模式</a></li><li class="chapter-item"><a href="./chapters07/function-parameter-improvement.html">函数参数改进</a></li><li class="chapter-item"><a href="./chapters07/the-name-attribute-of-the-function.html">函数的name属性</a></li><li class="chapter-item"><a href="./chapters07/tail-call-optimization.html">尾调用优化</a></li></ul><li class="chapter-item"><a href="./chapters08/index.html">第八章 数组的扩展</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters08/extension-operator.html">扩展运算符</a></li><li class="chapter-item"><a href="./chapters08/prototype-function-extend.html">原型对象方法扩展</a></li><li class="chapter-item"><a href="./chapters08/instance-function-extend.html">实例对象方法扩展</a></li><li class="chapter-item"><a href="./chapters08/empty-space-processing-of-array.html">数组的空位处理</a></li><li class="chapter-item"><a href="./chapters08/pipeline-optimization-of-arrays.html">数组的管道运算优化</a></li></ul><li class="chapter-item"><a href="./chapters09/index.html">第九章 ts学习</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters09/history.html">ts历史</a></li><li class="chapter-item"><a href="./chapters09/advantages-and-disadvantages.html">ts优势与劣势</a></li><li class="chapter-item"><a href="./chapters09/learn-primitive-type.html">基础类型学习</a></li><li class="chapter-item"><a href="./chapters09/learn-derivative-type.html">衍生类型基础学习</a></li><li class="chapter-item"><a href="./chapters09/Enum.html">衍生类型之Enum</a></li><li class="chapter-item"><a href="./chapters09/interface.html">衍生类型之interface</a></li><li class="chapter-item"><a href="./chapters09/Class.html">衍生类型之Class</a></li><li class="chapter-item"><a href="./chapters09/ts-util.html">ts 高级工具用法</a></li></ul><li class="chapter-item"><a href="./chapters10/index.html">第十章 react学习</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters10/history.html">react历史</a></li><li class="chapter-item"><a href="./chapters10/version-management.html">react版本管理</a></li><li class="chapter-item"><a href="./chapters10/advantages-and-disadvantages.html">react优势与劣势</a></li><li class="chapter-item"><a href="./chapters10/base.html">react基础语法</a></li><li class="chapter-item"><a href="./chapters10/common-package.html">react常用组件包</a></li><li class="chapter-item"><a href="./chapters10/family-bucket.html">react全家桶</a></li><li class="chapter-item"><a href="./chapters10/ecosphere.html">react的生态圈</a></li><li class="chapter-item"><a href="./chapters10/substitute-product.html">react和替代产品类比</a></li></ul><li class="chapter-item"><a href="./chapters11/index.html">第十一章 webpack学习</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters11/history.html">webpack历史</a></li><li class="chapter-item"><a href="./chapters11/version-management.html">webpack版本管理</a></li><li class="chapter-item"><a href="./chapters11/advantages-and-disadvantages.html">webpack优势与劣势</a></li><li class="chapter-item"><a href="./chapters11/base-config.html">webpack项目基础配置</a></li><li class="chapter-item"><a href="./chapters11/common-package.html">webpack常用组件包</a></li><li class="chapter-item"><a href="./chapters11/ecosphere.html">webpack的生态圈</a></li><li class="chapter-item"><a href="./chapters11/substitute-product.html">webpack和替代产品类比</a></li></ul><li class="chapter-item"><a href="./chapters12/index.html">第十二章 微信小程序学习</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters12/history.html">微信小程序历史</a></li><li class="chapter-item"><a href="./chapters12/version-management.html">微信小程序版本管理</a></li><li class="chapter-item"><a href="./chapters12/advantages-and-disadvantages.html">微信小程序优势与劣势</a></li><li class="chapter-item"><a href="./chapters12/base.html">微信小程序基础学习</a></li><li class="chapter-item"><a href="./chapters12/common-ui-package.html">微信小程序常用UI库</a></li><li class="chapter-item"><a href="./chapters12/ecosphere.html">微信小程序的生态圈</a></li><li class="chapter-item"><a href="./chapters12/cross-platform.html">微信小程序跨平台</a></li><li class="chapter-item"><a href="./chapters12/substitute-product.html">微信小程序和替代产品类比</a></li></ul><li class="chapter-item"><a href="./chapters13/index.html">第十三章 web安全方案</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters13/common-web-risks.html">常见web风险</a></li><li class="chapter-item"><a href="./chapters13/monitoring-system.html">前端监控体系</a></li><li class="chapter-item"><a href="./chapters13/performance-optimization.html">前端性能优化</a></li><li class="chapter-item"><a href="./chapters13/security-prevention-and-control.html">前端安全防控</a></li><li class="chapter-item"><a href="./chapters13/test-system.html">前端测试体系</a></li></ul></ul></div><div dir="ltr" class="level article-bar is-mobile"><div class="level-item has-text-centered"><a title="previous page" class="previouse-article-link link-disabled"><span class="icon icon-previous-disabled" data-icon="previous-disabled"></span></a></div><div class="level-item has-text-centered"><a title="font size" class="link-item link-item-size"><span class="icon icon-size" data-icon="size"></span></a></div><div class="level-item has-text-centered"><a title="table of content" class="link-item link-item-toc"><span class="icon icon-toc" data-icon="toc"></span></a></div><div class="level-item has-text-centered"><a title="top" href="#"><span class="icon icon-up" data-icon="up"></span> <span class="link-content">⤊ Top</span></a></div><div class="level-item has-text-centered"><a title="next page" class="next-article-link" href="./chapters01/index.html"><span class="icon icon-next" data-icon="next"></span><span class="link-content">Next »</span></a></div></div></div><div class="column is-2-widescreen is-hidden"></div></div><div class="columns foot"><div class="column is-3 is-offset-9 build-by">Build by <a href="https://github.com/ruanyf/loppo" target="_blank">Loppo</a> 0.6.16</div></div><div class="book-toc notification is-warning is-hidden"><h3>Table of chapters <span class="title-close"><a class="button is-danger"> Close</a></span></h3><ul class="chapter-area"><li class="chapter-item"><a href="./chapters01/index.html">第一章 ECMAScript 6 简介</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters01/base-js.html">js基础前置知识</a></li><li class="chapter-item"><a href="./chapters01/base-es.html">es基础前置知识</a></li><li class="chapter-item"><a href="./chapters01/Babel.html">通过Babel使用ES6</a></li><li class="chapter-item"><a href="./chapters01/Traceur.html">通过Traceur使用ES6</a></li><li class="chapter-item"><a href="./chapters01/stage-00.html">Strawman 阶段的 proposals</a></li><li class="chapter-item"><a href="./chapters01/stage-01.html">Proposal 阶段的 proposals</a></li><li class="chapter-item"><a href="./chapters01/stage-02.html">Draft 阶段的 proposals</a></li><li class="chapter-item"><a href="./chapters01/active-proposals.html">Candidate 阶段的 proposals</a></li><li class="chapter-item"><a href="./chapters01/stage-04.html">Finished 阶段的 proposals</a></li></ul><li class="chapter-item"><a href="./chapters02/index.html">第二章 let和const命令</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters02/base.html">前置知识了解</a></li><li class="chapter-item"><a href="./chapters02/let.html">let 命令</a></li><li class="chapter-item"><a href="./chapters02/const.html">const 命令</a></li><li class="chapter-item"><a href="./chapters02/statement-details.html">语句进阶说明</a></li></ul><li class="chapter-item"><a href="./chapters03/index.html">第三章 变量的解构赋值</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters03/base.html">基础数据结构</a></li><li class="chapter-item"><a href="./chapters03/complex.html">复杂数据结构</a></li><li class="chapter-item"><a href="./chapters03/parentheses.html">圆括号问题</a></li><li class="chapter-item"><a href="./chapters03/use.html">用途</a></li></ul><li class="chapter-item"><a href="./chapters04/index.html">第四章 字符串的扩展</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters04/unicode.html">字符的 Unicode 表示法</a></li><li class="chapter-item"><a href="./chapters04/prototype-function-extend.html">原型对象方法扩展</a></li><li class="chapter-item"><a href="./chapters04/instance-function-extend.html">实例对象方法扩展</a></li><li class="chapter-item"><a href="./chapters04/template-string.html">模板字符串</a></li><li class="chapter-item"><a href="./chapters04/string-Iterator.html">字符串的遍历器接口</a></li><li class="chapter-item"><a href="./chapters04/tag-template.html">标签模板</a></li></ul><li class="chapter-item"><a href="./chapters05/index.html">第五章 正则的扩展</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters05/constructor.html">RegExp 构造函数</a></li><li class="chapter-item"><a href="./chapters05/base.html">RegExp 基础使用</a></li><li class="chapter-item"><a href="./chapters05/prototype-attribute.html">RegExp 原型属性</a></li><li class="chapter-item"><a href="./chapters05/modifier.html">RegExp 修饰符</a></li><li class="chapter-item"><a href="./chapters05/assert.html">RegExp 断言</a></li><li class="chapter-item"><a href="./chapters05/string-with-regExp.html">String中正则相关方法</a></li><li class="chapter-item"><a href="./chapters05/named-group-matching.html">具名组匹配</a></li><li class="chapter-item"><a href="./chapters05/unicode-attribute-class.html">Unicode 属性类</a></li></ul><li class="chapter-item"><a href="./chapters06/index.html">第六章 数值的扩展</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters06/base-notation.html">Number 进制表示法</a></li><li class="chapter-item"><a href="./chapters06/prototype-attribute.html">Number 原型属性</a></li><li class="chapter-item"><a href="./chapters06/base-function-extend.html">Number 对象方法扩展</a></li><li class="chapter-item"><a href="./chapters06/prototype-function-extend.html">Number 原型对象方法扩展</a></li><li class="chapter-item"><a href="./chapters06/math-extension.html">math 对象扩展</a></li><li class="chapter-item"><a href="./chapters06/exponent-operator.html">指数运算符</a></li></ul><li class="chapter-item"><a href="./chapters07/index.html">第七章 函数的扩展</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters07/arrow-function.html">箭头函数</a></li><li class="chapter-item"><a href="./chapters07/strict-mode.html">严格模式</a></li><li class="chapter-item"><a href="./chapters07/function-parameter-improvement.html">函数参数改进</a></li><li class="chapter-item"><a href="./chapters07/the-name-attribute-of-the-function.html">函数的name属性</a></li><li class="chapter-item"><a href="./chapters07/tail-call-optimization.html">尾调用优化</a></li></ul><li class="chapter-item"><a href="./chapters08/index.html">第八章 数组的扩展</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters08/extension-operator.html">扩展运算符</a></li><li class="chapter-item"><a href="./chapters08/prototype-function-extend.html">原型对象方法扩展</a></li><li class="chapter-item"><a href="./chapters08/instance-function-extend.html">实例对象方法扩展</a></li><li class="chapter-item"><a href="./chapters08/empty-space-processing-of-array.html">数组的空位处理</a></li><li class="chapter-item"><a href="./chapters08/pipeline-optimization-of-arrays.html">数组的管道运算优化</a></li></ul><li class="chapter-item"><a href="./chapters09/index.html">第九章 ts学习</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters09/history.html">ts历史</a></li><li class="chapter-item"><a href="./chapters09/advantages-and-disadvantages.html">ts优势与劣势</a></li><li class="chapter-item"><a href="./chapters09/learn-primitive-type.html">基础类型学习</a></li><li class="chapter-item"><a href="./chapters09/learn-derivative-type.html">衍生类型基础学习</a></li><li class="chapter-item"><a href="./chapters09/Enum.html">衍生类型之Enum</a></li><li class="chapter-item"><a href="./chapters09/interface.html">衍生类型之interface</a></li><li class="chapter-item"><a href="./chapters09/Class.html">衍生类型之Class</a></li><li class="chapter-item"><a href="./chapters09/ts-util.html">ts 高级工具用法</a></li></ul><li class="chapter-item"><a href="./chapters10/index.html">第十章 react学习</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters10/history.html">react历史</a></li><li class="chapter-item"><a href="./chapters10/version-management.html">react版本管理</a></li><li class="chapter-item"><a href="./chapters10/advantages-and-disadvantages.html">react优势与劣势</a></li><li class="chapter-item"><a href="./chapters10/base.html">react基础语法</a></li><li class="chapter-item"><a href="./chapters10/common-package.html">react常用组件包</a></li><li class="chapter-item"><a href="./chapters10/family-bucket.html">react全家桶</a></li><li class="chapter-item"><a href="./chapters10/ecosphere.html">react的生态圈</a></li><li class="chapter-item"><a href="./chapters10/substitute-product.html">react和替代产品类比</a></li></ul><li class="chapter-item"><a href="./chapters11/index.html">第十一章 webpack学习</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters11/history.html">webpack历史</a></li><li class="chapter-item"><a href="./chapters11/version-management.html">webpack版本管理</a></li><li class="chapter-item"><a href="./chapters11/advantages-and-disadvantages.html">webpack优势与劣势</a></li><li class="chapter-item"><a href="./chapters11/base-config.html">webpack项目基础配置</a></li><li class="chapter-item"><a href="./chapters11/common-package.html">webpack常用组件包</a></li><li class="chapter-item"><a href="./chapters11/ecosphere.html">webpack的生态圈</a></li><li class="chapter-item"><a href="./chapters11/substitute-product.html">webpack和替代产品类比</a></li></ul><li class="chapter-item"><a href="./chapters12/index.html">第十二章 微信小程序学习</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters12/history.html">微信小程序历史</a></li><li class="chapter-item"><a href="./chapters12/version-management.html">微信小程序版本管理</a></li><li class="chapter-item"><a href="./chapters12/advantages-and-disadvantages.html">微信小程序优势与劣势</a></li><li class="chapter-item"><a href="./chapters12/base.html">微信小程序基础学习</a></li><li class="chapter-item"><a href="./chapters12/common-ui-package.html">微信小程序常用UI库</a></li><li class="chapter-item"><a href="./chapters12/ecosphere.html">微信小程序的生态圈</a></li><li class="chapter-item"><a href="./chapters12/cross-platform.html">微信小程序跨平台</a></li><li class="chapter-item"><a href="./chapters12/substitute-product.html">微信小程序和替代产品类比</a></li></ul><li class="chapter-item"><a href="./chapters13/index.html">第十三章 web安全方案</a> <a class="first-level-collapse"><span class="icon icon-expand" data-icon="expand"></span></a></li><ul class="chapter-level-1"><li class="chapter-item"><a href="./chapters13/common-web-risks.html">常见web风险</a></li><li class="chapter-item"><a href="./chapters13/monitoring-system.html">前端监控体系</a></li><li class="chapter-item"><a href="./chapters13/performance-optimization.html">前端性能优化</a></li><li class="chapter-item"><a href="./chapters13/security-prevention-and-control.html">前端安全防控</a></li><li class="chapter-item"><a href="./chapters13/test-system.html">前端测试体系</a></li></ul></ul></div><div class="progress-indicator"></div><!-- SCRIPTS --><script>var LOPPO={current_path:"/",relative_root_path:"./",article_toc:""}</script><script src="./assets/js/app.js"></script></body></html>