Skip to content

Conversation

@reshpatel
Copy link

No description provided.

// for(let i = 0; i > lift.floor ;)

class Person {
constructor(name, originFloor, destFloor)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are missing the curly braces to open the constructor block {
and close it latet }


}

tom = new Person;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These last two lines could probably go in your index.js file, so you can asynchronously call index.js with node

@mlande
Copy link

mlande commented Oct 4, 2017

The logic seems good, but the idea is to call the class on the index.js file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants