logo
← 返回面试题库

When would the final statement in the code shown be logged to the console? When would 'results shown' be logged to the console? <pre><code>let modal = document.querySelector(&#x27;#result&#x27;);setTimeout(function () { modal.classList.remove(&#x27;hidden&#x27;);}, 10000);console.log(&#x27;Results shown&#x27;);</code></pre>

中等javascriptweb-development

想查看完整答案?

登录匠人学院学习中心,获取 STAR 格式回答和详细技术解析

前往学习中心查看答案