Considerando o código precedente, desenvolvido em ECMAScript 6, assinale a opção que apresenta o resultado mostrado ao usuário ao final da execução desse código.","text":" Considerando o código precedente, desenvolvido em ECMAScript 6, assinale a opção que apresenta o resultado mostrado ao usuário ao final da execução desse código.","answerCount":5,"datePublished":"2024-01-01T00:00:00-03:00","author":{"@type":"Organization","name":"CESPE / CEBRASPE","url":"https://questionei.com"},"suggestedAnswer":[{"@type":"Answer","text":"0","position":1,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2024-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941200934533/#alternativa-0","author":{"url":"https://questionei.com","@type":"Organization","name":"CESPE / CEBRASPE"}},{"@type":"Answer","text":"8","position":2,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2024-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941200934533/#alternativa-1","author":{"url":"https://questionei.com","@type":"Organization","name":"CESPE / CEBRASPE"}},{"@type":"Answer","text":"12","position":3,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2024-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941200934533/#alternativa-2","author":{"url":"https://questionei.com","@type":"Organization","name":"CESPE / CEBRASPE"}},{"@type":"Answer","text":"10","position":4,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2024-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941200934533/#alternativa-3","author":{"url":"https://questionei.com","@type":"Organization","name":"CESPE / CEBRASPE"}},{"@type":"Answer","text":"22","position":5,"encodingFormat":"text/html","upvoteCount":0,"datePublished":"2024-01-01T00:00:00-03:00","url":"https://questionei.com/questoes/457941200934533/#alternativa-4","author":{"url":"https://questionei.com","@type":"Organization","name":"CESPE / CEBRASPE"}}]}}
<html> <body> <p id="demo"></p> <script> let x = 10;{ let x = 1; x = x - 1; } { let x = 3; x = x + 5; } { let x = 20; x ...
Considerando o código precedente, desenvolvido em
ECMAScript 6, assinale a opção que apresenta o resultado
mostrado ao usuário ao final da execução desse código.