Zmień cały tag Href JavaScript

const children = [...parent.getElementsByTagName('a')];
children.forEach((child) => { /* TODO */ });
emanuallan