blob: 3a9657f5bff54ea4a4b603d12382e00be7e2ba1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
---
title: JavaScript ガイド
slug: Web/JavaScript/Guide
tags:
- Guide
- JavaScript
- l10n:priority
- ガイド
translation_of: Web/JavaScript/Guide
---
<div>{{jsSidebar("JavaScript Guide")}}</div>
<p class="summary">この JavaScript ガイドでは、<a href="/ja/docs/Web/JavaScript">JavaScript</a> の使い方を紹介し、この言語の概要を説明します。JavaScript の機能についてもっと知りたい場合は、<a href="/ja/docs/Web/JavaScript/Reference">JavaScript リファレンス</a> を参照してください。</p>
<h2 id="Chapters" name="Chapters">目次</h2>
<p>このガイドは、いくつかの章に分かれています。</p>
<ul class="card-grid">
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Introduction">入門編</a></span>
<p><a href="/ja/docs/Web/JavaScript/Guide/Introduction#where_to_find_javascript_information">このガイドについて</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Introduction#what_is_javascript">JavaScript について</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Introduction#javascript_and_java">JavaScript と Java</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Introduction#javascript_and_the_ecmascript_specification">ECMAScript</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Introduction#getting_started_with_javascript">ツール</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Introduction#hello_world">Hello World</a></p>
</li>
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Grammar_and_types">文法とデータ型</a></span>
<p><a href="/ja/docs/Web/JavaScript/Guide/Grammar_and_types#basics">基本構文とコメント</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Grammar_and_types#declarations">宣言</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Grammar_and_types#variable_scope">変数のスコープ</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Grammar_and_types#variable_hoisting">変数の巻き上げ</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Grammar_and_types#data_structures_and_types">データ構造とデータ型</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Grammar_and_types#literals">リテラル</a></p>
</li>
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Control_flow_and_error_handling">制御フローとエラー処理</a></span>
<p><code><a href="/ja/docs/Web/JavaScript/Guide/Control_flow_and_error_handling#if...else_statement">if...else</a></code><br>
<code><a href="/ja/docs/Web/JavaScript/Guide/Control_flow_and_error_handling#switch_statement">switch</a></code><br>
<a href="/ja/docs/Web/JavaScript/Guide/Control_flow_and_error_handling#exception_handling_statements"><code>try</code>/<code>catch</code>/<code>throw</code></a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Control_flow_and_error_handling#utilizing_error_objects">エラーオブジェクト</a></p>
</li>
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Loops_and_iteration">ループと反復処理</a></span>
<p><code><a href="/ja/docs/Web/JavaScript/Guide/Loops_and_iteration#for_statement">for</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Loops_and_iteration#while_statement">while</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Loops_and_iteration#do...while_statement">do...while</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Loops_and_iteration#break_statement">break</a>/<a href="/ja/docs/Web/JavaScript/Guide/Loops_and_iteration#continue_statement">continue</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Loops_and_iteration#for...in_statement">for..in</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Loops_and_iteration#for...of_statement">for..of</a></code></p>
</li>
</ul>
<ul class="card-grid">
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Functions">関数</a></span>
<p><a href="/ja/docs/Web/JavaScript/Guide/Functions#defining_functions">関数の定義</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Functions#calling_functions">関数の呼び出し</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Functions#function_scope">関数のスコープ</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Functions#closures">クロージャ</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Functions#using_the_arguments_object">実引数</a> と <a href="/ja/docs/Web/JavaScript/Guide/Functions#function_parameters">仮引数</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Functions#arrow_functions">アロー関数</a></p>
</li>
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Expressions_and_Operators">式と演算子</a></span>
<p><a href="/ja/docs/Web/JavaScript/Guide/Expressions_and_Operators#assignment_operators">代入演算子</a> と <a href="/ja/docs/Web/JavaScript/Guide/Expressions_and_Operators#comparison_operators">比較演算子</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Expressions_and_Operators#arithmetic_operators">算術演算子</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Expressions_and_Operators#bitwise_operators">ビット演算子</a> と <a href="/ja/docs/Web/JavaScript/Guide/Expressions_and_Operators#logical_operators">論理演算子</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Expressions_and_Operators#conditional_(ternary)_operator">条件演算子</a></p>
</li>
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Numbers_and_dates">数値と日付</a></span> <a href="/ja/docs/Web/JavaScript/Guide/Numbers_and_dates#numbers">数値リテラル</a>
<p><a href="/ja/docs/Web/JavaScript/Guide/Numbers_and_dates#number_object"><code>Number</code> オブジェクト</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Numbers_and_dates#math_object"><code>Math</code> オブジェクト</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Numbers_and_dates#date_object"><code>Date</code> オブジェクト</a></p>
</li>
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Text_formatting">テキスト処理</a></span>
<p><a href="/ja/docs/Web/JavaScript/Guide/Text_formatting#string_literals">文字列リテラル</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Text_formatting#string_objects"><code>String</code> オブジェクト</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Text_formatting#multi-line_template_literals">テンプレートリテラル</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Text_formatting#internationalization">国際化</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Regular_Expressions">正規表現</a></p>
</li>
</ul>
<ul class="card-grid">
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Indexed_collections">インデックス付きコレクション</a></span>
<p><a href="/ja/docs/Web/JavaScript/Guide/Indexed_collections#array_object">配列</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Indexed_collections#typed_arrays">型付き配列</a></p>
</li>
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Keyed_collections">キー付きコレクション</a></span>
<p><code><a href="/ja/docs/Web/JavaScript/Guide/Keyed_collections#map_object">Map</a></code><br>
<code><a href="/ja/docs/Web/JavaScript/Guide/Keyed_collections#weakmap_object">WeakMap</a></code><br>
<code><a href="/ja/docs/Web/JavaScript/Guide/Keyed_collections#set_object">Set</a></code><br>
<code><a href="/ja/docs/Web/JavaScript/Guide/Keyed_collections#weakset_object">WeakSet</a></code></p>
</li>
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Working_with_Objects">オブジェクトを利用する</a></span>
<p><a href="/ja/docs/Web/JavaScript/Guide/Working_with_Objects#objects_and_properties">オブジェクトとそのプロパティ</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Working_with_Objects#creating_new_objects">新しいオブジェクトの作成</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Working_with_Objects#defining_methods">メソッドの定義</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Working_with_Objects#defining_getters_and_setters">getter と setter</a></p>
</li>
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Details_of_the_Object_Model">オブジェクトモデルの詳細</a></span>
<p><a href="/ja/docs/Web/JavaScript/Guide/Details_of_the_Object_Model#class-based_vs._prototype-based_languages">プロトタイプベース言語</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Details_of_the_Object_Model#creating_the_hierarchy">階層の作成</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Details_of_the_Object_Model#property_inheritance_revisited">継承</a></p>
</li>
</ul>
<ul class="card-grid">
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Using_promises">Promiseを使う</a></span>
<p><a href="/ja/docs/Web/JavaScript/Guide/Using_promises#guarantees">保証</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Using_promises#chaining">Promise チェーン</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Using_promises#error_propagation">エラーの伝搬</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Using_promises#composition">合成 (Composition)</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Using_promises#timing">タイミング</a></p>
</li>
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Iterators_and_Generators">イテレータとジェネレータ</a></span>
<p><a href="/ja/docs/Web/JavaScript/Guide/Iterators_and_Generators#iterators">イテレータ</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Iterators_and_Generators#iterables">反復可能 (イテラブル)</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Iterators_and_Generators#generators">ジェネレータ</a></p>
</li>
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Meta_programming">メタプログラミング</a></span>
<p><code><a href="/ja/docs/Web/JavaScript/Guide/Meta_programming#proxies">プロキシ</a></code><br>
<a href="/ja/docs/Web/JavaScript/Guide/Meta_programming#handlers_and_traps">ハンドラとトラップ</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Meta_programming#revocable_proxy">取り消し可能 Proxy</a><br>
<code><a href="/ja/docs/Web/JavaScript/Guide/Meta_programming#reflection">Reflect</a></code></p>
</li>
<li><span><a href="/ja/docs/Web/JavaScript/Guide/Modules">JavaScript モジュール</a></span>
<p><a href="/ja/docs/Web/JavaScript/Guide/Modules#exporting_module_features">エクスポート</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Modules#importing_features_into_your_script">インポート</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Modules#default_exports_versus_named_exports">デフォルトエクスポート</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Modules#renaming_imports_and_exports">名前を変更する</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Modules#aggregating_modules">モジュールの集約</a><br>
<a href="/ja/docs/Web/JavaScript/Guide/Modules#dynamic_module_loading">動的なモジュールの読み込み</a></p>
</li>
</ul>
<p>{{Next("Web/JavaScript/Guide/Introduction")}}</p>
|