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文字列と数値違い

Last updated at Posted at 2021-08-05

JavaScriptの学習の備忘録と振り返りの記事です。
何かの参考になれば幸いです。
付け足しや訂正などある場合ご教授いただけると
大変嬉しく思います!!

##出力

console.log()

##文字列
console.log("文字列はダブルクオテーションで囲う")

##数値

console.log(数値は数値のまま)

##計算

文字列の場合

`"文"+"字"`で連結ができる

数値の場合

`+、−、*、/`で計算ができる
`%`を使うと`余りの計算`をしてくれる
0
0
2

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?