Mixins
JavaScript
let jsSkill = {
test : true,
knowJS(){
return true;
}
}
let backSkill = {
backJS(){
return true;
}
}
//combine two objects and create a new one
let frontEnd = Object.assign({},jsSkill,backSkill);
console.log(frontEnd.knowJS());
console.log(frontEnd.test);