diff options
Diffstat (limited to 'files/zh-cn/web/javascript/guide/introduction/index.html')
-rw-r--r-- | files/zh-cn/web/javascript/guide/introduction/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/guide/introduction/index.html b/files/zh-cn/web/javascript/guide/introduction/index.html index 8a6a283d5c..3848d00603 100644 --- a/files/zh-cn/web/javascript/guide/introduction/index.html +++ b/files/zh-cn/web/javascript/guide/introduction/index.html @@ -117,7 +117,7 @@ translation_of: Web/JavaScript/Guide/Introduction <p>控制台的工作方式与eval完全相同:返回最后输入的表达式。为了简单起见,可以想象每次输入到控制台的东西实际上都被 console.log 所包围。</p> -<pre class="notranslate">function greetMe(yourName) { alert('Hello ' + yourName); } <code>console.log(eval('3 + 5'));</code></pre> +<pre>function greetMe(yourName) { alert('Hello ' + yourName); } <code>console.log(eval('3 + 5'));</code></pre> <h3 id="代码草稿纸(Scratchpad)">代码草稿纸(Scratchpad)</h3> @@ -133,7 +133,7 @@ translation_of: Web/JavaScript/Guide/Introduction <p>学习JavaScript 的第一步,打开浏览器的代码草稿纸尝试编写你的第一个 JavaScript 版本的 “Hello world” 程序。</p> -<pre class="brush: js notranslate">function greetMe(user) { +<pre class="brush: js">function greetMe(user) { alert('Hi ' + user); } |