Menu

#Ghr1y

1 post

Feed
1 of 1 post
Compressing a flag to 11 bits
🖼️
0

Compressing a flag to 11 bits

Hacker News·22 days ago
#Sy7czpDE

((a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),…

15s
Read More