///
Ao carregar essa página em um navegador web,","text":"Considere o bloco de código abaixo, presente em uma página HTML.
Ao carregar essa página em um navegador web,","answerCount":5,"datePublished":"2022-01-01T00:00:00-03:00","author":{"@type":"Organization","name":"FCC","url":"https://questionei.com"},"suggestedAnswer":[{"@type":"Answer","text":"ocorrerá um erro, pois document.write(\"M2\"); não deve estar entre chaves.","position":1,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2022-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941204133103/#alternativa-0","author":{"url":"https://questionei.com","@type":"Organization","name":"FCC"}},{"@type":"Answer","text":"será exibido o valor M2.","position":2,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2022-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941204133103/#alternativa-1","author":{"url":"https://questionei.com","@type":"Organization","name":"FCC"}},{"@type":"Answer","text":"ocorrerá um erro decorrente do uso de ! na comparação a!=b.","position":3,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2022-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941204133103/#alternativa-2","author":{"url":"https://questionei.com","@type":"Organization","name":"FCC"}},{"@type":"Answer","text":"ocorrerá um erro, pois document.write(\"M1\"); deve estar entre chaves.","position":4,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2022-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941204133103/#alternativa-3","author":{"url":"https://questionei.com","@type":"Organization","name":"FCC"}},{"@type":"Answer","text":"será exibido o valor M1.","position":5,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2022-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941204133103/#alternativa-4","author":{"url":"https://questionei.com","@type":"Organization","name":"FCC"}}],"acceptedAnswer":{"@type":"Answer","text":"será exibido o valor M1.","encodingFormat":"text/html","datePublished":"2022-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941204133103/#resposta-correta","author":{"url":"https://questionei.com","@type":"Organization","name":"FCC"}}}} Considere o bloco de código abaixo, presente em uma página HTML. Ao carregar essa página em um navegador web,Considere o bloco de código abaixo, presente em uma página HTML.<body> <script> var a = 2; var b = 3; if (a!=b) document...
<body>
<script>
var a = 2;
var b = 3;
if (a!=b)
document.write("M1");
else {
document.write("M2");
}
</script>
</body>