You can always do it in the fastest way. If performance is a deal breaker for you where you are writing code for million concurrent connections then arr.length -1 is your thing. But if you fancy some ES6 like I do, then read on..
This is useful when we need to do calculations based on the user input. For formatting the entered number in front end we add comma as thousand separator. But problem is when we try to parse it.
Unable to Add/Delete plugin in localhost?
After you new and shiny localhost installation you go ahead and start cleaning up. Keeping one fallback theme twenty twenty and deleting others. Then you go ahead and try deleting the Hello Dolly plugin and the Akismat plugin which I believe may not have much usage in localhost and you face this issue of unable to delete or install wordpress plugin without error.
while studying for mongoDb certification I got a dataset file from the instructor. I had to fill my database with the data provided in that file. I already had the database created and the data which was there in the file was to be contained in a collection.
Express is an amazing framework. We can start running a server by writing only 4 lines of code. After that, we can also set routes and assign responses if someone is requesting those routes. For now, let’s spin up our basic server.
while setting up a MERN app, i was using nodemon to reflect code edits and render the new code in real time. I used npm i -g nodemon which didn’t work.
As I am into the process of continuous learning and implementing those on a daily basis, I thought of managing a repository where all my learnings will reside. I ‘ll keep on adding new bits of information which I feel I can use again. Making this public so that if anyone else needs the same […]