///
Tomando como referência apenas esse trecho, um clique no botão com a página carregada provoca a exibição de:","text":"Analise o trecho de página Web a seguir.
Tomando como referência apenas esse trecho, um clique no botão com a página carregada provoca a exibição de:","answerCount":5,"datePublished":"2022-01-01T00:00:00-03:00","author":{"@type":"Organization","name":"FGV","url":"https://questionei.com"},"suggestedAnswer":[{"@type":"Answer","text":"três alertas, com as mensagens “OK”, “OK” e “ERRO”;","position":1,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2022-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941204392158/#alternativa-0","author":{"url":"https://questionei.com","@type":"Organization","name":"FGV"}},{"@type":"Answer","text":"três alertas, com as mensagens “undefined”, “undefined” e “ERRO”;","position":2,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2022-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941204392158/#alternativa-1","author":{"url":"https://questionei.com","@type":"Organization","name":"FGV"}},{"@type":"Answer","text":"um alerta apenas, com a mensagem “ERRO”;","position":3,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2022-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941204392158/#alternativa-2","author":{"url":"https://questionei.com","@type":"Organization","name":"FGV"}},{"@type":"Answer","text":"um alerta apenas, com a mensagem “OK”;","position":4,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2022-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941204392158/#alternativa-3","author":{"url":"https://questionei.com","@type":"Organization","name":"FGV"}},{"@type":"Answer","text":"um alerta apenas, com a mensagem “undefined”.","position":5,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2022-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941204392158/#alternativa-4","author":{"url":"https://questionei.com","@type":"Organization","name":"FGV"}}],"acceptedAnswer":{"@type":"Answer","text":"três alertas, com as mensagens “OK”, “OK” e “ERRO”;","encodingFormat":"text/html","datePublished":"2022-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941204392158/#resposta-correta","author":{"url":"https://questionei.com","@type":"Organization","name":"FGV"}}}} Analise o trecho de página Web a seguir. Tomando como referência apenas esse trecho, um clique no botão com a página carregada provoca a exibição de:Analise o trecho de página Web a seguir.<body> <button onclick="xpto(1,2,3);xpto(0);xpto();">?</button> <script> functio...
<body>
<button
onclick="xpto(1,2,3);xpto(0);xpto();">?</button>
<script>
function xpto() {
if (arguments.length == 0) {
text = "ERRO";
}
else {
text = "OK";
}
alert(text);
}
</script>
</body>