diff core-javascript/equality.rst @ 204:45e7d5e8fa97

Use double backticks for inline code
author Radomir Dopieralski <radomir.dopieralski@allegro.pl>
date Wed, 16 May 2012 16:53:27 +0200
parents 6ea48585f70c
children a808230bc5dd
line wrap: on
line diff
--- a/core-javascript/equality.rst	Wed May 16 16:37:06 2012 +0200
+++ b/core-javascript/equality.rst	Wed May 16 16:53:27 2012 +0200
@@ -151,10 +151,10 @@
     js> +a === +b
     true
 
-When the value cannot be converted to a number, you will get a `NaN` value.
+When the value cannot be converted to a number, you will get a ``NaN`` value.
 `NaN` is never equal to anything, even to itself.
 
-Alternatively, you can use the `parseInt` and `parseFloat` functions to convert
+Alternatively, you can use the ``parseInt`` and ``parseFloat`` functions to convert
 strings to number -- their behavior is slightly different, as they will silently
 ignore all non-number characters in the string.
 
@@ -165,15 +165,15 @@
     js> +'3abc1'
     NaN
 
-Because `NaN` is never equal to anything, even itself, you cannot check whether
-you got `NaN` as a result with `==` or `===`. You have to use the `isNaN` function
-for that.
+Because ``NaN`` is never equal to anything, even itself, you cannot check whether
+you got ``NaN`` as a result with ``==`` or ``===``. You have to use the ``isNaN``
+function for that.
 
 Compare as boolean
 ------------------
 
 To convert an expression to a boolean value, it's most convenient to use the
-`!` boolean negation operator twice, like this:
+``!`` boolean negation operator twice, like this:
 
 .. code-block:: javascript