Skip to content
Browse files

Clean up some console object descriptions

  • Loading branch information...
1 parent ef20620 commit fdf60a02ae85f278f3bd149d2d57ec87e039054c Grant Heaslip committed Jul 5, 2011
Showing with 6 additions and 6 deletions.
  1. +2 −2 book.html
  2. +2 −2 chapters/globals.html
  3. +2 −2 chapters/globals.md
View
4 book.html
@@ -311,11 +311,11 @@ <h2 id="Registering-Module-Compilers">Registering Module Compilers</h2>
<h2 id="console">console</h2>
-<p>The <code>console</code> object contains several methods which are used to output information to <em>stdout</em> or <em>stderr</em>. Let's take a look at what each method does.</p>
+<p>The <code>console</code> object contains several methods which are used to output information to <em>stdout</em> or <em>stderr</em>. Let's take a look at what each method does:</p>
<h3 id="console-log-">console.log()</h3>
-<p>The most frequently used console method is <code>console.log()</code> simply writing to <em>stdout</em> with a line feed (<code>\n</code>). Currently aliased as <code>console.info()</code>.</p>
+<p>The most frequently used console method is <code>console.log()</code>, which simply writes to <em>stdout</em> and appends a line feed (<code>\n</code>). Currently aliased as <code>console.info()</code>.</p>
<pre><code>console.log('wahoo');
// =&gt; wahoo
View
4 chapters/globals.html
@@ -4,11 +4,11 @@
<h2 id="console">console</h2>
-<p>The <code>console</code> object contains several methods which are used to output information to <em>stdout</em> or <em>stderr</em>. Let's take a look at what each method does.</p>
+<p>The <code>console</code> object contains several methods which are used to output information to <em>stdout</em> or <em>stderr</em>. Let's take a look at what each method does:</p>
<h3 id="console-log-">console.log()</h3>
-<p>The most frequently used console method is <code>console.log()</code> simply writing to <em>stdout</em> with a line feed (<code>\n</code>). Currently aliased as <code>console.info()</code>.</p>
+<p>The most frequently used console method is <code>console.log()</code>, which simply writes to <em>stdout</em> and appends a line feed (<code>\n</code>). Currently aliased as <code>console.info()</code>.</p>
<pre><code>console.log('wahoo');
// =&gt; wahoo
View
4 chapters/globals.md
@@ -5,11 +5,11 @@
## console
-The `console` object contains several methods which are used to output information to _stdout_ or _stderr_. Let's take a look at what each method does.
+The `console` object contains several methods which are used to output information to _stdout_ or _stderr_. Let's take a look at what each method does:
### console.log()
-The most frequently used console method is `console.log()` simply writing to _stdout_ with a line feed (`\n`). Currently aliased as `console.info()`.
+The most frequently used console method is `console.log()`, which simply writes to _stdout_ and appends a line feed (`\n`). Currently aliased as `console.info()`.
console.log('wahoo');
// => wahoo

0 comments on commit fdf60a0

Please sign in to comment.
Something went wrong with that request. Please try again.