关于
个人简介 | Resume
class engineer {
constructor(name, age, sex, profession) {
this.name = name;
this.age = age,
this.sex = sex,
this.profession = profession
}
}
class webDesigner extends engineer {
constructor(name, age, sex, profession, hobbies){
super(name, age, sex, profession);
this.hobbies = hobbies;
}
outPutSkills () {
console.log("hello, welcome to my website");
console.log(`i'm ${this.name}, a ${this.profession} in BJ`);
console.log(`I have lots of hobbies, such as ${this.hobbies}`);
}
}
const me = new webDesigner('Jason', 'after 90', 'male', 'webdesigner', ['basketball','football','coding'])
me.outPutSkills()
------------------------ === 分割线 === ------------------------
const engineer = function (name, age, sex, profession) {
this.name = name,
this.age = age,
this.sex = sex,
this.profession = profession
}
engineer.prototype.sayHello = function () {
console.log("hello, welcome to my website");
}
const webDesigner = function (name, age, sex, profession, hobbies) {
this.name = name,
this.age = age,
this.sex = sex,
this.profession = profession,
this.hobbies = hobbies
}
webDesigner.prototype = new engineer()
webDesigner.prototype.introduce = function () {
console.log(`i'm ${this.name}, a ${this.profession} in BJ`);
console.log(`I have lots of hobbies, such as ${this.hobbies}`);
}
const me = new webDesigner('Jason', 'after 90', 'male', 'webdesigner', ['basketball','football','coding'])
me.sayHello()
me.introduce()
博客目的 | Goal
记录生活的瞬间 , 分享学习的心得
在朋友面前装13(其实菜一个)
技术方向 | Technology
- 主修课:网页三件套,小程序,Vue,React,Node
- 数据库:MYSQL ORACLE 用的不多,深了不会
- 服务器:Linux , Nginx
- AI软件:Photoshop,Illustrator,Mockingbot,3Dmax,Edge Animate
过来看看
张新全博客前来恭贺博主早日成为高级前端工程师,月薪上2w
这个博客太漂亮了,i了
haha.qiaoqiao