HTML: Markup language
CSS: Styling language
JavaScript: Scripting language
Web APIs: Programming interfaces
All web technology
Learn web development
Discover our tools
Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
View in English Always switch to English
JavaScript リファレンスは、 JavaScript 言語に関する事実の保管庫として機能します。言語全体がここで詳細に記述されています。 JavaScript のコードを書いていると、これらのページをよく参照することになります(だから「JavaScript リファレンス」という題名なのです)。
JavaScript 言語は、ブラウザーやサーバーサイドのスクリプトなど、何か大きな環境の中で使用されることを想定しています。ほとんどの場合、このリファレンスは環境に依存しないようにしており、ウェブブラウザー環境のみを対象としている訳ではありません。
もし JavaScript が初めてであれば、ガイドから始めてください。基本的なことをしっかりと把握したら、個々のオブジェクトや言語構成について、このリファレンスを使用して、より詳細な情報を取得することができます。
JavaScript の標準組み込みオブジェクトと、そのメソッドやプロパティです。
globalThis
Infinity
NaN
undefined
eval()
isFinite()
isNaN()
parseFloat()
parseInt()
decodeURI()
decodeURIComponent()
encodeURI()
encodeURIComponent()
escape()
unescape()
Object
Function
Boolean
Symbol
Error
AggregateError
EvalError
RangeError
ReferenceError
SuppressedError
SyntaxError
TypeError
URIError
InternalError
Number
BigInt
Math
Date
Temporal
String
RegExp
Array
Int8Array
Uint8Array
Uint8ClampedArray
Int16Array
Uint16Array
Int32Array
Uint32Array
BigInt64Array
BigUint64Array
Float16Array
Float32Array
Float64Array
Map
Set
WeakMap
WeakSet
ArrayBuffer
SharedArrayBuffer
DataView
Atomics
JSON
WeakRef
FinalizationRegistry
Iterator
AsyncIterator
Promise
GeneratorFunction
AsyncGeneratorFunction
Generator
AsyncGenerator
AsyncFunction
DisposableStack
AsyncDisposableStack
Reflect
Proxy
Intl
Intl.Collator
Intl.DateTimeFormat
Intl.DisplayNames
Intl.DurationFormat
Intl.ListFormat
Intl.Locale
Intl.NumberFormat
Intl.PluralRules
Intl.RelativeTimeFormat
Intl.Segmenter
JavaScript の文と宣言
return
break
continue
throw
if...else
switch
try...catch
var
let
const
using
await using
function
function*
async function
async function*
class
do...while
for
for...in
for...of
for await...of
while
debugger
export
import
with
JavaScript の式と演算子
this
[]
{}
/ab+c/i
`string`
( )
?.
new
new.target
import.meta
super
import()
A++
A--
++A
--A
delete
void
typeof
+
-
~
!
await
**
*
/
%
<
>
<=
>=
instanceof
in
==
!=
===
!==
<<
>>
>>>
&
|
^
&&
||
??
(condition ? ifTrue : ifFalse)
=
*=
/=
%=
+=
-=
<<=
>>=
>>>=
&=
^=
|=
**=
&&=
||=
??=
[a, b] = arr
{ a, b } = obj
yield
yield*
...obj
,
JavaScript の関数
arguments
JavaScript のクラス
constructor
extends
static
JavaScript の正規表現です。
\1
\2
(...)
[...]
[^...]
\d
\D
\w
\W
\s
\S
\n
\u{...}
$
a
b
(?=...)
(?!...)
(?<=...)
(?<!...)
(?ims-ims:...)
\k<name>
(?<name>...)
(?:...)
?
{n}
{n,}
{n,m}
\p{...}
\P{...}
.
\b
\B