Skip to content

Commit

Permalink
remove references to objects used in 'Organizing Code with Objects' l…
Browse files Browse the repository at this point in the history
…esson
  • Loading branch information
takinabradley committed Jul 2, 2024
1 parent 61e772d commit 7e9a47f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This section contains a general overview of topics that you will learn in this l

### Object constructors

Manually typing out the contents of our objects with Object Literals is not always feasible. When you have a specific type of object that you need to duplicate like our player object, inventory items, or even the entire RPS game, a better way to create them is using an object constructor, which is a function that looks like this:
Manually typing out the contents of our objects with Object Literals is not always feasible. When you have a specific type of object that you need to duplicate, a better way to create them is using an object constructor, which is a function that looks like this:

```javascript
function Player(name, marker) {
Expand Down

0 comments on commit 7e9a47f

Please sign in to comment.