Skip to content

bug fixes and passing tests #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

bug fixes and passing tests #21

wants to merge 4 commits into from

Conversation

daddyshivvy
Copy link

No description provided.

const sayHey = require('./lib/greet.js');

greet.sayHey = ('Shivvy');
greet.sayBye();
Copy link

Choose a reason for hiding this comment

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

Where are you defining greet?

module.exports = exports = {};

exports.sayHey = function(name) {
if (arguments.length[0] === 0) throw new Eror('please insert a name');
Copy link

Choose a reason for hiding this comment

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

This line will not work. Look closely at it. See if you can see why.

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.

3 participants