Can you explain this equation?

JavascriptOperators

== and != are called comparison operators. They are used to compare two values and see whether they are the same (==) or check if they are different (!=). E.g.

 = is used to assign a value to a variable. E.g.

 To Sum it up…

An = sign is used to assign a value to a variable: e.g.

An == sign is used to compare if two values are equal e.g.

A != sign is used to compare if two values are different e.g.

 

Did you like this challenge?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

As you found this challenge interesting...

Follow us on social media!

Tagged with: ,