Chrome dev tools: File drop event bug that cost me hours in debugging
TLDR: If you use onDrop event and try to log the files in console, the file array will log empty. But it will available when you use the file.
Search for a command to run...
Articles tagged with #javascript
TLDR: If you use onDrop event and try to log the files in console, the file array will log empty. But it will available when you use the file.
How to debug a few It works on my machine problems
I have to agree that the above title is pretty strong and kinda click-a-bait. But trust me, I was using the library wrong, I was not utilizing it to its full extent and was writing code that should be far easier. I am nowhere claiming to be an expert...
Javascript is a single-threaded language and it is blocking by nature. Still, we can do things asynchronously without blocking further code execution. Speaking of async, there are multiple ways to run async operations. I mostly use Observables and Pr...
Javascript is great, it is single-threaded but fast enough for most use cases, it is easy to get started with but hard to master. 2019 has been great for Javascript and 2020 is not going to be any different. In this context, I am focusing more on wri...
Javascript is a beautiful language which comes with some very different behavior, which can be tricky to understand even for people who have been working in JS for years. There are even multiple books were written to address those special behaviors s...