SOURCE

funtion _new(fn,...args){
    const newObj=Object.create(fn.prototype)
    const value=fn.apply(newObj,args)
    return value instanceof Object ? value:newObj
}
console 命令行工具 X clear

                    
>
console