Re-Query Select All the Things!

Written by JRCharney | Published 2019/08/28
Tech Story Tags: queryselector | queryselectorall | javascript | qs | hoisting | filter | haqsjs | latest-tech-stories

TLDR The old version of this one-liner has been redesigned for JavaScript. The new version of the function is called apologeticqs()(). It eliminates the use of template strings like the old version, but it doesn't take advantage of templates. The function can be used to assign a value to a variable, but the assignment operator returns the value assigned to that variable. It's not the same as all other functions in the form of a query that can only be used for a single query.via the TL;DR App

no story

Written by JRCharney | Web Dev Geek from St. Louis
Published by HackerNoon on 2019/08/28