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
-
2:15:43
vivafrei
13 hours agoFATHER'S DAY SPECIAL! Young Thug! Hunter Biden! 2nd Amendment! SCOTUS & MORE! Viva & Barnes!
103K120 -
LIVE
Vigilant News Network
11 hours agoMedia Blackout: 10 News Stories They Chose Not to Tell You - Episode 27
2,281 watching -
1:10:08
The Late Kick with Josh Pate
7 hours agoLate Kick Live Ep 522: CFB’s Loudest Stadiums | SEC Sleepers | Preseason Poll Ban | Recruiting Scoop
17.7K1 -
1:17:59
Game On!
10 hours agoSpecial Father's Day NFL Stream! Happy Father's Day Dads
49K6 -
43:20
Standpoint with Gabe Groisman
15 hours agoEp. 31. US Military Assessment of Gaza-Israel Conflict. Lt. Col. Geoffrey Corn
57.8K34 -
1:29:53
TheAlecLaceShow
1 day agoGuests: Vivek, MTG, Roger Stone, Mike Lindell & More | Live From Detroit | The Alec Lace Show
68K80 -
7:39
Sideserf Cake Studio
1 day ago $11.22 earnedA Hyperrealistic Cake on the Ceiling?! Celebrating 6 Million Subscribers!
103K23 -
1:04:23
Squaring The Circle w/ Randall Carlson
1 day ago#008 Are Sea Levels REALLY Rising? Pt 1 - Squaring the Circle: A Randall Carlson Podcast
105K72 -
8:31
Film Threat
1 day agoHOUSE OF THE DRAGON SEASON 2 EPISODES 1 & 2 | Film Threat Reviews
112K13 -
11:31
shaneandliana
1 day ago $11.74 earnedPossessed SLEEP WALKING Prank On My Parents *THEY FREAKED OUT*
106K22