Operators Cheat Sheet / JavaScript

Yoon·2021년 8월 18일
1

Definition:
“Operators are used to assign values, compare values, perform arithmetic operations and more. Operators allow programmers to create a single value from one or more values.”

Binary Operators(이항 연산자):
Definition: Requires two operands, one before the operator and one after the operator.

Syntax: operand1 operator operand2

2 + 3; or x * z;

Unary Operators(단항 연산자):
Definition: Requires a single operand, either before or after the operator.

Syntax: operator operand OR operand operator

y++ OR ++y

Arithmetic Operators : Multiplication, Division, Modulus, Addition and Subtraction
Definition:
Takes numerical values (either literals or variables) as their operands and returns a single numerical value.

Comparison Operators(비교 연산자):
방정식의 양쪽을 비교하고 비교가 참인지 여부에 따라 논리 값을 반환합니다. 피연산자는 숫자 값, 문자열 값, 논리적 값 또는 객체 값일 수 있습니다.

== : 연산자를 이용하여 서로 다른 유형의 두 변수의 [값] 비교

=== : 는 엄격한 비교를 하는 것으로 알려져 있다 ([값 & 자료형] -> true). 되도록이면 이 연산자를 사용할 것.

5 == '5'; // true
5 === '5' // false

부등 비교 연산자
!= : 동등 연산자( == ) 의 논리적인 반대값이 됩니다. 동등 연산자로 비교시 true일 경우, 부등 연산자는 그 반대인 false를 반환 합니다. 즉, 동등 연산자의 반대값이 됩니다.

!== : 엄격한 등등 비교 연산자(===)의 논리적인 반대가 됩니다. 즉, 엄격하게 동등 연산자로 비교한 값의 반대값을 반환합니다.

JavaScript Beginner Bootcamp(2021)

28개의 댓글

comment-user-thumbnail
2022년 6월 21일

Your article is very good. It helped me a lot! I was looking for this information fortunately saw your post. Thank you for sharing it. I always look forward to posts from you. https://phrazle.io/ https://bitlifeonline.com

답글 달기
comment-user-thumbnail
2022년 8월 9일

와우, 나는 당신의 게시물을 읽고 미쳤습니다, 그것은 매우 좋고 유익합니다. 그리고 만약 당신이 자유 시간이 있다면 나는 당신을 게임에 초대합니다 https://animedle.io 나와 함께.

답글 달기
comment-user-thumbnail
2022년 8월 13일

이것은 나에게 삶의 기본 지식을 많이 제공하는 유용한 웹 사이트입니다. 이렇게 좋은 글을 읽을 수 있게 해주셔서 감사합니다. 웹사이트 개발자 팀 덕분에 https://wordle2.io/

답글 달기
comment-user-thumbnail
2022년 8월 26일

I've read a couple of the posts on your website so far, and I really like the way you write. https://iogames.games

답글 달기
comment-user-thumbnail
2022년 10월 7일

I watch them to get caught up on important info, then play game for fun since the info is so fascinating, https://run3online.io

답글 달기
comment-user-thumbnail
2022년 10월 11일

I first watch them to get caught up on critical information, and then I play the game for enjoyment because the information is so interesting. https://drift-boss.co/

답글 달기
comment-user-thumbnail
2022년 11월 24일

How the heck do you https://surviv-io.co/ write such fantastic essays? It will undoubtedly be the most popular comment currently on social media.

답글 달기
comment-user-thumbnail
2022년 12월 28일

와우, 나는 당신의 게시물을 읽고 미쳤습니다 https://bike-race.io

답글 달기
comment-user-thumbnail
2023년 2월 2일

Your essay is excellent. It really aided me! I found your article when hunting for this information. I appreciate you sharing it. I always anticipate reading your blogs. baldi's basics

답글 달기
comment-user-thumbnail
2023년 2월 13일
답글 달기
comment-user-thumbnail
2023년 5월 16일
답글 달기
comment-user-thumbnail
2023년 7월 3일

I tune in to catch up on the latest significant information.
Cre: https://geometrydashsubzero.net

답글 달기
comment-user-thumbnail
2023년 9월 20일

I was looking for this information fortunately saw your post. https://freegamesonline.io

답글 달기
comment-user-thumbnail
2023년 12월 15일

I love that! They are specifically what I need! I appreciate you sharing these amazing and fulfilling experiences with me and with all of you. Have fun with your family and https://wordleunlimited.one online.

답글 달기
comment-user-thumbnail
2024년 2월 26일

That's amazing! I tried the recipe you shared and it worked! Everyone praised them very well. Thank you for sharing with me and everyone. Have a good time with your family and https://wordleunlimited.one online

답글 달기
comment-user-thumbnail
2024년 8월 24일

Your article was excellent and incredibly helpful! I was searching for this information and was fortunate to come across your post. https://doramasflix.to/

답글 달기
comment-user-thumbnail
2024년 8월 24일

Your article was excellent and incredibly helpful! I was searching for this information and was fortunate to come across your post. https://doramasflix.to/

답글 달기
comment-user-thumbnail
2024년 8월 24일

Your article was excellent and incredibly helpful! I was searching for this information and was fortunate to come across your post. https://doramasflix.to/

답글 달기
comment-user-thumbnail
2024년 10월 7일

Your insights into this matter are invaluable. Thank you for sharing your perspective!

https://www.eljnoub.com/

답글 달기
comment-user-thumbnail
2024년 10월 7일

Your insights into this matter are invaluable. Thank you for sharing your perspective!

https://www.eljnoub.com/

답글 달기
comment-user-thumbnail
2024년 10월 7일

Your insights into this matter are invaluable. Thank you for sharing your perspective!

https://www.eljnoub.com/

답글 달기
comment-user-thumbnail
2024년 10월 7일

Your insights into this matter are invaluable. Thank you for sharing your perspective!

https://www.eljnoub.com/

답글 달기
comment-user-thumbnail
2024년 10월 7일

Your insights into this matter are invaluable. Thank you for sharing your perspective!

https://www.eljnoub.com/

답글 달기
comment-user-thumbnail
2024년 12월 16일

The article provides me with a great deal of knowledge, helping me expand my knowledge. You can access: https://love-calculator.io

답글 달기
comment-user-thumbnail
2025년 1월 3일

helloo

답글 달기
comment-user-thumbnail
2025년 3월 25일

Your passion and knowledge are evident in every post. I really appreciate the time and effort you put into this! https://unoonlinefree.com

답글 달기

관련 채용 정보