Get the fundamentals down and the level of everything you do will rise. - Michael Jordan
Continuing on day 4 of posting my notes on this this blog as I learn to master Javascript fundamentals one day at a time.
As stated in my original post, I do 1 hour of video lessons from Watch and Code every day. If you're interested in learning Javascript in a way that goes beyond basic tutorials and gives you a foundational, practical knowledge without relying on frameworks - I'd highly recommend it. If you're reading these posts, please keep in mind that these are just my notes, and I'm not an expert (yet!). If your goal is also to master the fundamentals of Javascript, please head over to Watch and Code and start your journey there!
All screenshots were annotated using Shotty.
noConflict (Part 2)
Today has been a lazy Sunday, so I've been more focused on completed the exercise than documenting it. The main idea of today's exercise is that we looked at the noConflict implementation in Accounting JS, and wrote a new version that was simpler.
Let's see how noConflict works in Accounting JS.
In the console we can see that we can set window.accounting to it's original value, such as the string "The original accounting" in this example, and we can return the library so we can store it in a variable called accountingLibrary.
That's it for today. Picking back up in full-force on Monday.