Samantha Ming
@samantha_ming
⭐️New JS, HTML, CSS tidbit Every Week ⭐️ · 👩🏻💻 Frontend Engineer @gitlab · @GoogleDevExpert · https://t.co/mSz3dkHxiZ
22-11-2015 05:04:49
3,6K Tweets
21,8K Followers
147 Following
#CodeTidbits30 Day 24 🎄
if-else is probably one of the most popular conditional statement. However if it’s a simple comparison, you can refactor it and use the ternary operator

#Codenewbie #100DaysOfCode #301DaysOfCode