--- id: 587d7db2367417b2b2512b89 title: Use a Mixin to Add Common Behavior Between Unrelated Objects challengeType: 1 videoUrl: '' localeTitle: Использование Mixin для добавления общего поведения между несвязанными объектами --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: Ваш код должен объявить переменную glideMixin которая является функцией. testString: 'assert(typeof glideMixin === "function", "Your code should declare a glideMixin variable that is a function.");' - text: '' testString: 'assert(typeof bird.glide === "function", "Your code should use the glideMixin on the bird object to give it the glide method.");' - text: Ваш код должен использовать glideMixin на объекте boat чтобы придать ему метод glide . testString: 'assert(typeof boat.glide === "function", "Your code should use the glideMixin on the boat object to give it the glide method.");' ```
## Challenge Seed
```js let bird = { name: "Donald", numLegs: 2 }; let boat = { name: "Warrior", type: "race-boat" }; // Add your code below this line ```
## Solution
```js // solution required ```