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.

javascript05_変数の命名

Last updated at Posted at 2022-02-18

変数名、関数名、引数名、属性名の命名にはルールがあります。

1 数字、アルファベット、、$を含むことができます。
var a_1
$
2 名前は数字から始まることはできません
3 既存のキーワードの名前を使用することはできません
 break、do、else、class、super、etc....
4 変数名は一般的に下記のように命名する。
 最初のアルファベット文字は小文字、各単語の初文字は大文字。
helloWorld
 xxxYyyZzz
5 変数名は全部unicode-8に属されます。

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?