0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

JavaScript メモ

Last updated at Posted at 2025-09-11

定数const
constで宣言した変数は、一度値を設定すると変更(再代入)できなくなります。
値が変わらない定数として扱いたい場合に使います。もし再代入しようとすると、エラーが発生します。

const

変数let
letで宣言した変数は、後から値を変更(再代入)できます。
値が変わる可能性がある変数に使います。

let
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?