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?

More than 1 year has passed since last update.

letとconstの違い

Posted at

const

定数値を持つ

→更新、再宣言ができない

const checekr= 2;
const checekr= 1;

→再宣言x

const checekr= 2;
checekr= 1;

→更新x

let

変数の宣言に使われる
let checker = 3;
checker = 2;

→更新可能

※基本的にCONST使用、必要によってLET、VARは使用X

0
0
1

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?