window.onclick = function onclickRadio1() {
var nameRadios = document.querySelectorAll('input[name^="nameRadio"]:checked'),
results = document.querySelectorAll('[id^="result"]');
Array.prototype.forEach.call(results, function (result, index) {
result.textContent = nameRadios[index].value;
});
}
document.querySelector('input[name="nameRadio1"]:checked').value