# Make Instances of Objects with a Constructor Function help

**URL:** <https://forum.freecodecamp.org/t/make-instances-of-objects-with-a-constructor-function-help/153533>\
**Category:** General\
**Created:** [October 17, 2017, 1:24am UTC](https://forum.freecodecamp.org/t/make-instances-of-objects-with-a-constructor-function-help/153533 "2017-10-17T01:24:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonahEgorov](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@JonahEgorov](https://forum.freecodecamp.org/u/JonahEgorov)\
**Post date:** [October 17, 2017, 1:24am UTC](https://forum.freecodecamp.org/t/make-instances-of-objects-with-a-constructor-function-help/153533/1 "2017-10-17T01:24:23Z")

</div>

**Tell us what’s happening:**

**Your code so far**

```auto
var Car = function() {
  this.wheels = 4;
  this.engines = 1;
  this.seats = 5;
};

// Only change code below this line.

var myCar = function() {
  this.wheels = 4;
};

```

**Your browser information:**

Your Browser User Agent is: `Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36`.

**Link to the challenge:**  
[https://www.freecodecamp.org/challenges/make-instances-of-objects-with-a-constructor-function](https://www.freecodecamp.org/challenges/make-instances-of-objects-with-a-constructor-function)

---

<div class="post-metadata">

**Author:** ![macey26](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/macey26/32/67565_2.png) [@macey26](https://forum.freecodecamp.org/u/macey26)\
**Post date:** [October 17, 2017, 2:10am UTC](https://forum.freecodecamp.org/t/make-instances-of-objects-with-a-constructor-function-help/153533/2 "2017-10-17T02:10:49Z")

</div>

Hi JohnahEgorov,

This exercise asks you to give myCar a nickname property with a string value.

Remember you can call a function from the outside of the function.

Also if you take a look at the previous exercise “Construct JavaScript Objects with Functions”, as well as "Add New Properties to a JavaScript Object " [https://www.freecodecamp.org/challenges/add-new-properties-to-a-javascript-object](https://www.freecodecamp.org/challenges/add-new-properties-to-a-javascript-object)

These exercises will give you some clues as to how to solve it.

I hope this helps

Emma

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:37pm UTC](https://forum.freecodecamp.org/t/make-instances-of-objects-with-a-constructor-function-help/153533/3 "2021-01-17T20:37:18Z")

</div>

Closed on January 17, 2021, 8:37pm UTC


