Update ObjectOriented.md

master
Matt Huntington 9 years ago committed by GitHub
parent 29fc82b7ef
commit 7efa4a562a

@ -74,7 +74,7 @@ matt.greet(); //logs 'Hello! My name is Matt'
## Use constructor functions to make creating multiple similar objects easy
If you need to create multiple objects of the same type, object literals (`{ property:'value'}`) can be inefficient. We can create constructor functions, which act like a blueprint (or class) for creating classes.
If you need to create multiple objects of the same type, object literals (`{ property:'value'}`) can be inefficient. We can create constructor functions, which act like a blueprint (or class) for creating objects.
```javascript
var Person = function(){

Loading…
Cancel
Save