Premium Only Content

JS Tutorial For Beginners - #2 If Else & Comparison Operators
In this free Javascript tutorial, we'll cover if, else statements & comparison operators. This is a Free JS Course designed for beginners. These Javascript lessons cover the basics of Javascript and programming basics from the very beginning.
In the last lesson, we covered variables and several Javascript types. Before covering more types, we'll cover comparison operators and if, else statements.
Comparison Operators Covered in this Video:
(youtube doesn't allow me to do less-than and greater-than signs, which is really quite silly,
so I have to use LT and GT)
LT Less than
GT Greater than
LT= Less than or equal to
GT= Greater than or equal to
== equal to
!= not equal to
There are also "strict" equality types
=== same value and same type
!== not same value and same type
For example:
"2" == 2 will be true - even though they're different types, they're considered equal
"2" === 2 will be false because the second value is a number type, where the first is a string type
You should use the triple === whenever possible, as it's more specific.
Visit Our Website : https://metapayclicks.com
Telegram channel : https://t.me/metapayclicks
Facebook page : https://www.facebook.com/metapayclicks/
Linkedin : https://www.linkedin.com/company/mpc-network/
Twitter : https://twitter.com/MetapayC
locals.com : https://locals.com/member/MetaPayC
Instagram : https://www.instagram.com/metapayclicks/
Tumblr : https://metapayclicks.tumblr.com/
Youtube Channel : https://www.youtube.com/channel/UCwAamK7hbpF51HcPgJSTuVA
Flickr : https://www.flickr.com/photos/196588923@N04/
Tiktok : https://www.tiktok.com/@metapayc
Dribbble : https://dribbble.com/metapayc
Vk : https://vk.com/id752424948
Reddit : https://www.reddit.com/user/MetaPayC
-
LIVE
Steven Crowder
2 hours ago🔴 NY Times Goes Full Simp for Deported Jamaican Kidnapper
68,767 watching -
The Rubin Report
1 hour agoGavin Newsom Torches the Democratic Party in a Shocking Interview
7.25K8 -
LIVE
Dr. Eric Berg
3 days agoThe Dr. Berg Show LIVE April 25, 2025
641 watching -
LIVE
BitLab Academy
1 hour agoBlackrock & China Pump Bitcoin & Altcoin Pump Season & Maximize Crypto Profits With Defi
401 watching -
11:08
SLS - Street League Skateboarding
23 hours agoNyjah Huston on his most memorable SLS Wins, Nollie Flip Back Lips, the SLS Miami Course & more...
2.27K2 -
UPCOMING
Film Threat
12 hours agoTHE ACCOUNTANT 2 + CHEECH & CHONG + TONS OF REVIEWS! | Film Threat Livecast
434 -
UPCOMING
Tudor Dixon
1 hour agoThe Impact of the Biden Pill Penalty with Tim Murtaugh | The Tudor Dixon Podcast
90 -
14:35
SKAP ATTACK
9 minutes agoThe Denver Nuggets are a Disgrace
-
59:26
VINCE
3 hours agoJUSTICE! FBI Arrests Corrupt Judge - w/ Guest Mike Davis | Episode 30 - 04/25/25
160K93 -
DVR
Matt Kohrs
10 hours agoMarkets Finally Push Higher!!! || The MK Show
67.4K