Commits

Jonathan Fine committed ed7dd56

classes.rst: Minor editorial changes.

  • Participants
  • Parent commits 1a4583e

Comments (0)

Files changed (1)

source/classes.rst

 that returns a point, and an object that is a parent for all the
 points created by the Point function.  In Python we had a single
 object, namely the class Point, that performed both roles.  In
-JavaScript we need a constructor function and an instance-parent
-object.
+JavaScript we need a constructor function and a parent object.
 
 
-Instance parent
-^^^^^^^^^^^^^^^
+Parent object
+^^^^^^^^^^^^^
 
 We'll start with the parent object:
 
    };
 
 
+In production we would use *arguments* and *apply* rather than
+directly calling *__init__*.  Do you know why?
+
 Advanced features
 -----------------