changeset 164:2036ab1c25bf

Fixed grammar.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Tue, 30 Oct 2018 20:44:15 +0200
parents c0487c6c9c95
children 6cd519e7c266
files 85845794-d835-11e6-b173-485b39c42d0f/index.rst
diffstat 1 files changed, 9 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/85845794-d835-11e6-b173-485b39c42d0f/index.rst	Tue Oct 30 20:39:34 2018 +0200
+++ b/85845794-d835-11e6-b173-485b39c42d0f/index.rst	Tue Oct 30 20:44:15 2018 +0200
@@ -93,12 +93,11 @@
 ------------------------------------------------------
 
 ``<html><head><script src="..."></script></head>...<html>``
-  Page rendering stoped until script fully loaded, parsed and executed. Because there is no any page
+  Page rendering stopped until script has been fully loaded, parsed and executed. Because there is no any page
   content loaded till this moment user will look to empty page during delay.
- 
 
 ``<html><head>...</head><body>...<script src="..."></script>...</body><html>``
-  Page rendering stoped until script fully loaded, parsed and executed. Because some page content
+  Page rendering stopped until script has been fully loaded, parsed and executed. Because some page content
   loaded and partially rendered user will look to partially rendered page during delay.
 
   But if ``<script src="..."></script>`` is at the end of HTML document most of the HTML will be
@@ -120,14 +119,14 @@
   function() {
     return
     1
-  } 
+  }
 
 equals to::
 
   function() {
     return;
     1;
-  } 
+  }
 
 null vs undefined
 -----------------
@@ -137,16 +136,16 @@
 * Lookups of non-existent properties in an object.
 * Function parameters that have not passed.
 * A variable is declared without assigning any value to it.
-* Implicit returns of functions due to missing return statements.
+* Implicit returns of functions because of missing return statements.
 * Return statements that do not explicitly return anything.
-* Anything that has been set to the value of undefined.
-* Any expression in the form of void(expression).
-* The value of the global variable undefined.
+* Anything that has been set to the value ``undefined``.
+* Any expression in the form of ``void(expression)``.
+* The value of the global variable ``undefined``.
 
 Except for cases of lookup of non-existent properties in object and missing parameters in function
 call encountering ``undefined`` usually represents an error in code.
 
-``null`` on other hand by desing represent "missing value" semantic.
+On other hand ``null`` represents "missing value" semantic by desing.
 
 == vs ===
 ---------