Hacker News new | ask | show | jobs
by noelwelsh 399 days ago
I find the underlying premise a bit odd. I can name values in Javascript just fine:

const whatever = ...

I would rather refer to them by these names than by strings. It's both faster and safer to do so.

1 comments

This provides ID + class based selection of nodes with a syntax which allows combining multiple filters. It's more akin to the methodology of selecting nodes in the DOM than just providing a name alone.