这两个要合起来
querySelectorAll('#a, a,.anchor')
querySelectorAll('#b, a,.anchor')
1
looking0truth 2021-03-18 20:57:18 +08:00
`"h1,.header".split(",").map(q=>document.querySelectorAll(q)).reduce((a,b)=>[...a,...b])`
|
2
imjamespond2020 2021-03-18 21:04:33 +08:00 via Android
a b flat
|