SOURCE

console 命令行工具 X clear

                    
>
console
console.log($('#class').text())
<body>
  <div id="class">111</div>
</body>