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.

javascript06_データの型

Last updated at Posted at 2022-02-18

jsの中に全部6種類の型があります。
1 String 文字
2 Number 数値
3 Boolean
4 Null
5 Undefined
6 Object

1-5までは基本的なデータ型になります。
6 Objectは引用データ型です。

String型: '',""で囲む必要がある。
- ""のなかに""を入れることはできません。
- ''のなかに''を入れることはできません。
var str = "hello";
console.log(str);

\は特殊な意味を表します。
" : "
': '
\n: 改行
\: \

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?