mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-08 23:14:06 +08:00
108 lines
8.2 KiB
HTML
108 lines
8.2 KiB
HTML
<article id="wikiArticle">
|
||
<div></div>
|
||
<p class="summary">JavaScript 指南向你介绍如何使用 <a href="/zh-CN/docs/Web/JavaScript">JavaScript</a>,并且给出了语言概述。如果你需要了解某些语言特性的详细信息,请参阅 <a href="Reference">JavaScript 参考</a>。</p>
|
||
<h2 id="章节">章节</h2>
|
||
<p>本指南分为以下章节:</p>
|
||
<ul class="card-grid">
|
||
<li><span><a href="Guide/Introduction">介绍</a></span>
|
||
<p><a href="Guide/Introduction#What_is_JavaScript.3F">关于这份指南</a><br/>
|
||
<a href="Guide/Introduction#什么是_JavaScript">关于 JavaScript</a><br/>
|
||
<a href="Guide/Introduction#JavaScript_and_Java">JavaScript 与 Java</a><br/>
|
||
<a href="Guide/Introduction#JavaScript_and_the_ECMAScript_Specification">ECMAScript</a><br/>
|
||
<a href="Guide/Introduction#Getting_started_with_JavaScript">工具</a><br/>
|
||
<a href="Guide/Introduction#Hello_world">Hello World</a></p>
|
||
</li>
|
||
<li><span><a href="Guide/Grammar_and_types">语法与数据类型</a></span>
|
||
<p><a href="Guide/Grammar_and_types#%E5%9F%BA%E7%A1%80">基本语法与注释</a><br/>
|
||
<a href="Guide/Grammar_and_types#%E5%A3%B0%E6%98%8E">声明</a><br/>
|
||
<a href="Guide/Grammar_and_types#%E5%8F%98%E9%87%8F%E7%9A%84%E4%BD%9C%E7%94%A8%E5%9F%9F">变量作用域</a><br/>
|
||
<a href="Guide/Grammar_and_types#%E5%8F%98%E9%87%8F%E5%A3%B0%E6%98%8E%E6%8F%90%E5%8D%87(Variable_hoisting)">变量提升</a><br/>
|
||
<a href="Guide/Grammar_and_types#%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E5%92%8C%E7%B1%BB%E5%9E%8B">数据结构与类型</a><br/>
|
||
<a href="Guide/Grammar_and_types#Guide/Grammar_and_types#%E5%AD%97%E9%9D%A2%E9%87%8F_(Literals)">字面量</a></p>
|
||
</li>
|
||
<li><span><a href="Guide/Control_flow_and_error_handling">控制流与错误处理</a></span>
|
||
<p><a href="Guide/Control_flow_and_error_handling#if...else_%E8%AF%AD%E5%8F%A5"><code>if...else</code></a><br/>
|
||
<a href="Guide/Control_flow_and_error_handling#switch_%E8%AF%AD%E5%8F%A5%EF%BC%88switch_statement%EF%BC%89"><code>switch</code></a><br/>
|
||
<a href="Guide/Control_flow_and_error_handling#%E5%BC%82%E5%B8%B8%E5%A4%84%E7%90%86%E8%AF%AD%E5%8F%A5(Exception_Handling_Statements)"><code>try</code>/<code>catch</code>/<code>throw</code></a><br/>
|
||
<a href="Guide/Control_flow_and_error_handling#%E9%94%99%E8%AF%AF%E5%8C%B9%E9%85%8D%E5%AF%B9%E8%B1%A1%EF%BC%88Utilizing_Error_objects%EF%BC%89">Error 对象</a><br/>
|
||
<a href="Guide/Control_flow_and_error_handling#Promises">Promises</a></p>
|
||
</li>
|
||
<li><span><a href="Guide/Loops_and_iteration">循环与迭代</a></span>
|
||
<p><a href="Guide/Loops_and_iteration#for_%E8%AF%AD%E5%8F%A5"><code>for</code></a><br/>
|
||
<a href="Guide/Loops_and_iteration#while_%E8%AF%AD%E5%8F%A5"><code>while</code></a><br/>
|
||
<a href="Guide/Loops_and_iteration#do...while_%E8%AF%AD%E5%8F%A5"><code>do...while</code></a><br/>
|
||
<a href="Guide/Loops_and_iteration#break_%E8%AF%AD%E5%8F%A5"><code>break</code></a>/<a href="Guide/Loops_and_iteration#continue_语句"><code>continue</code></a><br/>
|
||
<a href="Guide/Loops_and_iteration#for...in_语句"><code>for..in</code></a><br/>
|
||
<a href="Guide/Loops_and_iteration#for...of_statement"><code>for..of</code></a></p>
|
||
</li>
|
||
</ul>
|
||
<ul class="card-grid">
|
||
<li><span><a href="Guide/Functions">函数</a></span>
|
||
<p><a href="Guide/Functions#定义函数">定义函数</a><br/>
|
||
<a href="Guide/Functions#调用函数">调用函数</a><br/>
|
||
<a href="Guide/Functions#函数作用域">函数作用域</a><br/>
|
||
<a href="https://developer.mozilla.orgGuide/Functions#闭包">闭包</a><br/>
|
||
<a href="https://developer.mozilla.orgGuide/Functions#%E4%BD%BF%E7%94%A8_arguments_%E5%AF%B9%E8%B1%A1">arguments 对象</a> 和 <a href="https://developer.mozilla.orgGuide/Functions#%E5%87%BD%E6%95%B0%E5%8F%82%E6%95%B0">参数</a><br/>
|
||
<a href="Guide/Functions#箭头函数">箭头函数</a></p>
|
||
</li>
|
||
<li><span><a href="Guide/Expressions_and_Operators">表达式和运算符</a></span>
|
||
<p><a href="Guide/Expressions_and_Operators#赋值运算符(Assignment_operators)">赋值</a> & <a href="Guide/Expressions_and_Operators#比较运算符(Comparison_operators)">比较</a><br/>
|
||
<a href="Guide/Expressions_and_Operators#算术运算符(Arithmetic_operators)">算术运算符</a><br/>
|
||
<a href="Guide/Expressions_and_Operators#位运算符(Bitwise_operators)">位运算</a> & <a href="Guide/Expressions_and_Operators#逻辑运算符(Logical_operators)">逻辑运算符</a><br/>
|
||
<a href="Guide/Expressions_and_Operators#conditional_operator">条件(三元)运算符</a></p>
|
||
</li>
|
||
<li><span><a href="Guide/Numbers_and_dates">数字和日期</a></span>
|
||
<p><a href="Guide/Numbers_and_dates#%E6%95%B0%E5%AD%97"><code>Number</code> 字面值</a><br/>
|
||
<a href="Guide/Numbers_and_dates#%E6%95%B0%E5%AD%97%E5%AF%B9%E8%B1%A1"><code>Number</code> 对象</a><br/>
|
||
<a href="Guide/Numbers_and_dates#%E6%95%B0%E5%AD%A6%E5%AF%B9%E8%B1%A1%EF%BC%88Math%EF%BC%89"><code>Math</code> 对象</a><br/>
|
||
<a href="Guide/Numbers_and_dates#%E6%97%A5%E6%9C%9F%E5%AF%B9%E8%B1%A1"><code>Date</code> 对象</a></p>
|
||
</li>
|
||
<li><span><a href="Guide/Text_formatting">文本格式化</a></span>
|
||
<p><a href="Guide/Text_formatting#字符串">字符串字面量</a><br/>
|
||
<a href="Guide/Text_formatting#字符串对象">字符串对象</a><br/>
|
||
<a href="Guide/Text_formatting#多行模板字符串">模版字面量</a><br/>
|
||
<a href="Guide/Text_formatting#国际化">国际化</a><br/>
|
||
<a href="Guide/Regular_Expressions">正则表达式</a></p>
|
||
</li>
|
||
</ul>
|
||
<ul class="card-grid">
|
||
<li><span><a href="Guide/Indexed_collections">索引集合</a></span>
|
||
<p><a href="Guide/Indexed_collections#map%E6%95%B0%E7%BB%84">数组</a><br/>
|
||
<a href="Guide/Indexed_collections#类型化数组(Typed_Arrays_)">类型数组</a></p>
|
||
</li>
|
||
<li><span><a href="Guide/Keyed_collections">带键集合</a></span>
|
||
<p><a href="Guide/Keyed_collections#Map对象"><code>Map</code></a><br/>
|
||
<a href="Guide/Keyed_collections#WeakMap对象"><code>WeakMap</code></a><br/>
|
||
<a href="Guide/Keyed_collections#Set对象"><code>Set</code></a><br/>
|
||
<a href="Guide/Keyed_collections#WeakSet对象"><code>WeakSet</code></a></p>
|
||
</li>
|
||
<li><span><a href="Guide/Working_with_Objects">处理对象</a></span>
|
||
<p><a href="https://developer.mozilla.orgGuide/Working_with_Objects#%E5%AF%B9%E8%B1%A1%E5%92%8C%E5%B1%9E%E6%80%A7_2">对象和属性</a><br/>
|
||
<a href="https://developer.mozilla.orgGuide/Working_with_Objects#%E5%88%9B%E5%BB%BA%E6%96%B0%E5%AF%B9%E8%B1%A1">创建对象</a><br/>
|
||
<a href="Guide/Working_with_Objects#%E5%AE%9A%E4%B9%89%E6%96%B9%E6%B3%95">定义方法</a><br/>
|
||
<a href="https://developer.mozilla.orgGuide/Working_with_Objects#%E5%AE%9A%E4%B9%89_getters_%E4%B8%8E_setters">getter 和 setter</a></p>
|
||
</li>
|
||
<li><span><a href="Guide/Details_of_the_Object_Model">对象模型的细节</a></span>
|
||
<p><a href="https://developer.mozilla.orgGuide/Details_of_the_Object_Model#class-based_vs_prototype-based_languages">基于原型的面向对象编程</a><br/>
|
||
<a href="https://developer.mozilla.orgGuide/Details_of_the_Object_Model#%E5%88%9B%E5%BB%BA%E5%B1%82%E7%BA%A7%E7%BB%93%E6%9E%84">创建对象层次结构</a><br/>
|
||
<a href="https://developer.mozilla.orgGuide/Details_of_the_Object_Model#%E5%AF%B9%E8%B1%A1%E7%9A%84%E5%B1%9E%E6%80%A7">继承</a></p>
|
||
</li>
|
||
</ul>
|
||
<ul class="card-grid">
|
||
<li><span><a href="Guide/Iterators_and_Generators">迭代器与生成器</a></span>
|
||
<p><a href="Guide/Iterators_and_Generators#%E8%BF%AD%E4%BB%A3%E5%99%A8">迭代器</a><br/>
|
||
<a href="Guide/Iterators_and_Generators#%E7%94%9F%E6%88%90%E5%99%A8">生成器</a><br/>
|
||
<a href="Guide/Iterators_and_Generators#%E5%8F%AF%E8%BF%AD%E4%BB%A3%E5%AF%B9%E8%B1%A1">可迭代对象</a><br/>
|
||
<a href="Guide/Iterators_and_Generators#%E9%AB%98%E7%BA%A7%E7%94%9F%E6%88%90%E5%99%A8">高级生成器</a></p>
|
||
</li>
|
||
<li><span><a href="Guide/Meta_programming">元编程</a></span>
|
||
<p><a href="Guide/Meta_programming#%E4%BB%A3%E7%90%86"><code>Proxy</code></a><br/>
|
||
<a href="Guide/Meta_programming#%E5%8F%A5%E6%9F%84%E5%92%8C%E9%99%B7%E9%98%B1">Handlers 和 traps</a><br/>
|
||
<a href="Guide/Meta_programming#%E6%92%A4%E9%94%80_Proxy">撤销 Proxy</a><br/>
|
||
<a href="Guide/Meta_programming#%E5%8F%8D%E5%B0%84"><code>Reflect</code></a></p>
|
||
</li>
|
||
</ul>
|
||
<p></p><div class="prevnext" style="text-align: right;">
|
||
<p><a href="Guide/Introduction">下一页 »</a></p>
|
||
</div><p></p>
|
||
</article> |