Hacker News new | ask | show | jobs
by Tistron 152 days ago
I usually do

   const $ = (s, e = document) => e.querySelector(s)
and a similar one for $$.