Advertisement ยท 728 ร— 90

Posts by

Clever! Never thought about using it this way ๐Ÿ’ก

1 month ago 3 0 0 0

decentralization is when you fuck up the CSS so its not properly centered

1 month ago 74 14 0 0

Very impressive!! Well done. Works great on mobile too

1 month ago 3 0 0 0
Dark-themed code snippet showing URLPattern examples on MDN: two JavaScript blocks matching "/books" and "/books/:id" with console.log outputs.

Dark-themed code snippet showing URLPattern examples on MDN: two JavaScript blocks matching "/books" and "/books/:id" with console.log outputs.

๐Ÿ†• The URL Pattern API is Newly Available!

Use it to match and extract parts of URLs, no need to reinvent routing logic. Supports literals, wildcards, named groups, and even regex constraints.

Learn how it works ๐Ÿ‘‡
developer.mozilla.org/en-US/docs/...

2 months ago 53 7 0 0
Post image

It sure takes some time to get used to those methods ๐Ÿ˜ญ Reminds me of a tweet I posted years ago about some weird behavior with Array.prototype.at()

Be careful when you use `Array.prototype.at()` as it converts whatever you pass into a number and even NaN works surprisingly.

4 months ago 0 0 0 0