blob: 9e89757ae63426d4acb87631e97d69c0add2a4b6 (
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>
|