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 3 years have passed since last update.

JavaScript 基礎知識

Posted at

###console.log()
出力する

###テンプレートリテラル

console.log(`${変数}です。`)

バッククォートで囲まなければならない。

###オブジェクト
プロパティと呼ばれる名前で管理

let(constでもいい) 変数名 = {プロパティ名1: データ, プロパティ名2: データ,.....プロパティ名x: データ};

###swich文
調べる対象がどの場合にどういう処理をする

###.length
長さを表すメソッド

###for文
1行は省略型

for (let i = 0; i < animals.length ; i++) {
  console.log(animals[i]);
}

###while文
条件が続く限り、繰り返す。

###比較演算子
また && かつ || 否定 !a

理解できるように頑張りたい。

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?