We're a place where coders share, stay up-to-date and grow their careers.
404 bio not found
All private interactions must abide by the code of conduct.
Not two booleans, but a standard for a sort handler I use is:...
Feb 23
I've found getBoundingClientRect can become an expensive call...
Feb 17
Probably worth mentioning that this is best used for images w...
Feb 9
Someone, somewhere makes heavy use of comments in email addre...
Feb 8
Haha, so even with 321 characters of regex it's not entirely ...
It's probably worth sharing this StackOverflow link: How to v...
Sorry that the upgrade to Vue 3 screwed your styles a bit, bu...
Feb 2
I'd imagine if you were using a Set from the start, and addin...
Recent comments
JavaScript Interview Question #18: What's the sum of two booleans in JavaScript?
Not two booleans, but a standard for a sort handler I use is:...
How To Know If An Element Is Visible In Viewport.
I've found getBoundingClientRect can become an expensive call...
Native lazy-loading of images with zero Javascript
Probably worth mentioning that this is best used for images w...
JS: Check if an email is valid
Someone, somewhere makes heavy use of comments in email addre...
JS: Check if an email is valid
Haha, so even with 321 characters of regex it's not entirely ...
JS: Check if an email is valid
It's probably worth sharing this StackOverflow link: How to v...
You can't just migrate to Vue 3 (now)
Sorry that the upgrade to Vue 3 screwed your styles a bit, bu...
How to remove duplicates from JavaScript array
I'd imagine if you were using a Set from the start, and addin...