代码示例:(标识:eg_js_output_console)
<!DOCTYPE html>
<html>
<body>

<h2>按 F12 启动</h2>

<p>在 debugger 中选择 "Console"。然后再次点击运行按钮。</p>

<script>
console.log(5 + 6);
</script>

</body>
</html>
运行结果: