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
Use a Mixin Under Object Oriented Programming FCC Beta #15591
Comments
It works with |
I see that now, thanks for the correction 👍 |
I'll take a look at this. |
Changed a test case where it checks that the user defined function name matches to that given in instructions. BREAKING CHANGE: no breaking change Closes freeCodeCamp#15591
This comment was left in the Contributor chat room, but not in this issue: the problem is not with the test (the first test does check that a function named |
@QuincyLarson this issue appears to be fixed. |
Challenge use-a-mixin-to-add-common-behavior-between-unrelated-objects has an issue.
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
.Please describe how to reproduce this issue, and include links to screenshots if possible.
The condition to solve the challenge requires the mixin to be named "Mixing", but it was said that the name should be "Mixin". Just a typo in the assert probably.
let bird = {
name: "Donald",
numLegs: 2
};
let boat = {
name: "Warrior",
type: "race-boat"
};
// Add your code below this line
let glideMixing = function(obj){
obj.glide = function(){
return"I'm soaring!";
};
};
glideMixing(bird);
glideMixing(boat);
The text was updated successfully, but these errors were encountered: