Alexander Cerutti·Oct 30, 2024A (mostly complete) guide to theme switching in CSS and JSIn the beginning, introducing support to dark mode / light mode was tricky as there were no CSS custom properties. Every logic was…A response icon2A response icon2
Alexander Cerutti·Sep 12, 2022Number 4: fuck, no!Number 7: okay, I understand that (as bad as it could be) editing the Object prototype is just an example, but what if you just define a…A response icon2A response icon2
Alexander Cerutti·Apr 3, 2022Didn't know about arguments.callee,About point 9, you say that "functions don't need to be named when X". But what impact does this have on the stack trace? I mean, let the…A response icon1A response icon1