Help us understand the problem. What is going on with this article?

JavaScript入門 2.変数 <個人メモ>

More than 5 years have passed since last update.

2. 変数

宣言方法
 var 変数;
複数まとめて宣言
 var 変数,変数;
初期値を指定して宣言
 var 変数=10;
データ型
 文字列
 数値
 真偽値
  オブジェクト
  配列
  関数
  組み込みオブジェクト
  undefined
  null

<!DOCTYPE html>
<html lang="ja">
<head>
   <meta charset="utf-8">
   <title>JavaScript</title>
</head>
<body>
   <script>
      var str = "Hello World";
      alert(str);
   </script>
</body>
</html>

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away