Textarea elements modify carriage returns (\r)
String comparison before and after will always fail
Apr 24, 20232 min read814

Search for a command to run...
Articles tagged with #javascript
String comparison before and after will always fail

And throttling requestAnimationFrame()

A close look at closures in JavaScript

Using AbortController() to abort is so clean

I recently needed to create a small popup element that could be dragged around the page and remember its new position. This is not the behaviour that the default dragging=true attribute provides and so wanted to share my solution for this. For this d...

Universally Unique IDs are great to use anywhere in our application where we need random and unique IDs. In the past, we have always needed to reach for a library such as uuid in order to bring this into our applications. If we put aside any immediat...
