Fab Blogs

Day-16 Revising JavaScript fundamentals. ||#100daysOfCode

June 18, 2020

Hey Fam, I hope y’all are doing good. If you want to connect with me then search for the username @fabcodingzest on any platform like Instagram, Twitter, GitHub and you’ll find me 🤓🔥.

Today I revised many JavaScript concepts like Hoisting, Closures, Lexical Scoping etc and Damn I knew them but somehow they were back at my mind but they are clear as crystal now. I attended my Node team meeting followed by a quiz prepared by the mentors to test what we learned earlier this week and it went well but one question just confused the hell outta me lol. It might be seem easy to you guys but damn I never knew that if we apply sort method on array in console.log then it would change the value of real array, now I know sort method mutates original array but what I don’t understand is I carried out that method inside console.log right?! So it shouldn’t change the value of original array right but it did weirdly. I don’t know how I noticed this just today, I thought what we do in console remains in console and doesn’t change ther real values but oh well it does change and I am frustrated over that lol.

Apart from that I did a little bit of Kent’s React course which is totally recommended for anyone wanting to learn or go through React fundamentals. The JavaScript concepts I mentioned above, I revised them from my Udemy JavaScript course I did last year from Jonas Schmedtmann. It feels good to go back and revise things XD. I had so many things to do in the day but I couldn’t and that’s fine because I ain’t no robot so I need a break sometimes. So that was all for the day and I took shower a while ago which makes me sleepy I don’t know why?! Evertime I take a shower, no matter what time of day it is I just feel so sleepy. So I am gonna sleep now. Good Night Fam!

Thank you so much for reading this, I appreciate you💙.

Good Night