LoginSignup

Why not login to Qiita and try out its useful features?

We'll deliver articles that match you.

You can read useful information later.

0
0

演算子優先順位早見表

Posted at

基本の優先順位

  1. Member Access

    • . (点)
    • [] (角かっこ)
    • () (カッコ)
  2. 単項演算子

    • ++, -- (後置)
    • !, ~
    • +, - (単項)
  3. 算術演算子

    • **
    • *, /, %
  4. ビット演算子

    • <<, >>, >>>
    • &
    • ^
    • |
  5. 比較演算子

    • <, >, <=, >=
    • instanceof
    • in
  6. 等価演算子

    • ==, !=, ===, !==
  7. 論理演算子

    • &&
  8. 論理演算子

    • ||
  9. 条件演算子

    • ? :
  10. 代入演算子

    • =, +=, -=, *=, /=, %=
    • <<=, >>=, >>>=
    • &=, ^=, |=
  11. 最も低い優先順位

    • , (カンマ)
0
0
1

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
bskcorona-github

@bskcorona-github

2023年の4月に未経験からバックエンドエンジニアとして就職いたしました。 自己研鑽のため、メモ帳代わりに発信していきたいと思います。

Comments

dgcdsbsd2
@dgcdsbsd2
  1. Member Access
  • . (点)
  • [] (角かっこ)
  • () (カッコ)

JavaScriptにおいて、()は何よりも優先されます。
他にも優先順位を誤って記載されているものがいくつか見受けられますので、こちらを参照されるとよいでしょう。

0

Let's comment your feelings that are more than good

Being held Article posting campaign

この記事誰得? 私しか得しないニッチな技術で記事投稿!

~
View details

お題は不問!Qiita Engineer Festa 2024で記事投稿!

~
View details
0
0

Login to continue?

Login or Sign up with social account

Login or Sign up with your email address