Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
almd
· 2y ago · 0 comments
true it is tedious but I have a vs code shortcut for doing the following (and same goes for queryselectorall) let foo = document.queryselector(‘.foo’);
if (!!foo) { //do thing }
Comments
No comments yet.
Better HN