Skip to content
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

Add boss to const, homie to let, dude to var #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Deependra3010
Copy link

No description provided.

@Deependra3010 Deependra3010 changed the title change const to boss, let to homie, var to dude Add const to boss, let to homie, var to dude Oct 7, 2023
@Deependra3010 Deependra3010 changed the title Add const to boss, let to homie, var to dude Add boss to const, homie to let, dude to var Oct 7, 2023
index.js Outdated
"L": "Error",
"boss": "const",
"homie": "let",
"dude": "var"
};

Choose a reason for hiding this comment

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

These are great! Did this work when you ran it? I am getting an error.

Copy link
Author

Choose a reason for hiding this comment

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

Sorry for the late reply, to be honest I did not test it, I had a look at it once again but I could not find a way to make VariableDeclarations work as boss a = false what I was able achieve was boss("a", false). Let me know what you think?
Also could you run the tests I was unable to run on my local I tried npx jest.

Choose a reason for hiding this comment

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

Ok, thanks! They would be funnier as regular declarations, but idk how to do it either... so this should work until we can figure it out!! Thanks so much again for contributing.

npm run test runs them, but the tests are kind of broken right now. I didn't have time to fix the issue so I'll make an issue for it.

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