NodeJs

How to delete a directory with too long path / name for normal delete?

I faced a very strange problem today morning. I created a simple ASP.NET MVC Core application on my laptop. After playing around with it for sometime, I decided to delete the project source code using Delete key on my keyboard and there you go, I got very famous (it seems) error message At first, I thought, maybe the folder size is too big for Recycle Bin to handle it, so I tried with Shift + Delete key combination without any success. Hmm. I knew I had a problem. I immediately googled around it and not so surprisingly found many forums…

JavaScript Functions Part 3 – Anonymous Functions

Welcome to JavaScript Functions series. This is the third article in the series focusing on Anonymous Functions. In the earlier articles, we covered JavaScript Function Declaration and Function Expression and its pros and cons. We will continue to follow similar pattern in this article. Anonymous Functions As the name suggests anonymous functions are functions without any given name. Now, you might be thinking how is it even possible and most importantly useful? If we define a function without any name, how can we even call it? Well, in large scale JavaScript programs anonymous functions plays important role, however we will…