let a={};
    let b={};
    // a的父级是b
    Object.setPrototypeOf(a,b);

 

posted on 2022-01-28 14:32  weakup  阅读(32)  评论(0)    收藏  举报