Skip to content

Commit

Permalink
Lesson 05
Browse files Browse the repository at this point in the history
  • Loading branch information
Shayne Smith committed Jan 22, 2020
1 parent 2f549f9 commit c7aeb83
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Lesson08-JS-V/homework/feynmanWritingPrompts.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
prototypes {
Classes are objects that are used as templates to build more complex objects. They can be distinguished from other objects by their uppercase letter at the start of the object name. Prototypes are created when each class is created. They give daughter objects access to methods in the original class, without copying each objects' methods in memory. This greatly reduces memory needs when millions of objects are instantiated from one class and results in much greater memory efficiency.
}

constructors {
Constructors, or classes, have much of the same functionality as other objects and are used as templates to create similar objects that share many of the same properties and methods.
}

0 comments on commit c7aeb83

Please sign in to comment.