SOURCE

/**
 默认的参数是arguments,类似于数组
 setInterval 每隔多长时间做某事
 前端框架
 1 js框架 vue,react,Angular
 2css框架 bootstrap,antD,ElementUI
 */
function max(){
    let max=arguments[0];
    for(let i = 1; i < arguments.length; i++){
        if(max < arguments[i])
        max = arguments[i];
    }
    return max;
}
function Person(name,age){
    this.name = name;
    this.age = age;
}
Person.prototype.toString = function(){
    return this.age + this.name
}
function Student(sno,name,age){
    this.sno = sno;
    Person.call(this,name,age);
    this.toString = function(){
        return Person.prototype.toString.apply(this) + this.sno;
    }
}
var aStud = new Student("0182917", "小黑", 20);
console.log(aStud.toString());
console 命令行工具 X clear

                    
>
console