Theme Layout

Boxed or Wide or Framed

Wide

Theme Translation

Display Featured Slider

Featured Slider Styles

Display Grid Slider

yes

Grid Slider Styles

Display Trending Posts

Display Author Bio

Display Instagram Footer

off

Dark or Light Style

Light

Blog Archive

Powered by Blogger.

Monday, February 20, 2017

[JavaScript] Comparison and Logical Operators


# JavaScript Comparison and Logical Operators


● Comparison Operators

Comparison operators are used in logical statements to determine equality or difference between variables or values. Given that x = 5, the table below explains the comparison operators.


https://www.w3schools.com/js/js_comparisons.asp

● Logical Operators

 Logical operators are used to determine the logic between variables or values.
Given that x =6 and y =3, the table below explains the logical operators.


https://www.w3schools.com/js/js_comparisons.asp

● Conditional ( Ternary ) Operator

 JavaScript also contains a conditional operator that assigns a value to a variable based on some condition.



QuickEdit
Unknown
0 Comments
Share This Post :

You Might Also Like

No comments:

Post a Comment

Follow @SunriseSunsetBlog