for (let a of document.querySelectorAll('a')) { a.style.fontWeight = 'normal' }
Array.from(document.querySelectorAll('a')).map(a => a.style.fontWeight = 'bold')
[...document.querySelectorAll('a')].map(a => a.style.fontWeight = 'bold')