Mysterious Organism

You must select a tag to post in this category. Please find the tag relating to the section of the course you are on E.g. loops, learn-compatibility

When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!

If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:

I am on the Mysterious Organism and maybe I do not know what I missed or why it just doesn’t make sense to me what I am doing. I understand that a factory function is to make multiple objects with like or even some of the same properties or variables. I think I am getting lost at adding functions in the return. I try to sit back and look at the scope of the project but I still seem to get lost.

Here is my current work on it.


I know it is in error. However I have come to a wall and don’t know how to proceed other than to review related material on this subject.

Can you please be a little more specific in the error you are running into? I’m guessing it has to do with willLikelySurvive?

You are correct it is willLikelySurvive. it said it wasn’t a function then I made it a function. but yes that is where I am stuck … I feel like I don’t know what the point is if you can’t use it.

It seems like you aren’t declaring the object method correctly in pAequorFactory. Remember that pAequorFactory is returning an object and you have to write willLikelySurvive as an object method. Here’s the cheatsheet from the JavaScript Objects lesson and the specific part of the lesson that is relevant.

Thank you! this is very helpful.

I figured out what I was doing wrong thanks for your help

1 Like