Best of Logging — March 2021
- 1
- 2
SitePoint·5y
Beyond Console.log() – Level up Your Debugging Skills
A common developer workflow is to write code in an editor, save it, then switch to the browser and load the product to see if everything works. We only use a small percentage of the tools at our disposal, and we may miss out on opportunities to work better. We’ll look at a few features of freely available developer tools you probably use but don’t know about.
- 3
web.dev·5y
JavaScript: What is the meaning of this?
This article is kinda like a big if (…) … else if (…), so you can go straight to the first section that matches the code you're looking at. If the function is defined as an arrow function, the value of this is always the same as this in the parent scope. This pattern is really useful when using instance methods as event listeners in components (such as React components, or web components)