class Test1{
    constructor(){

    }
  say(){

  }
  static do(){
    
  }
}
const test=new test1()



const Test=(function(){
    function Test2(){

    }
    Test2.prototype.say=function(){

    }
    Test.do=function(){

    }
    window.Test=Test
})

const test2=new Test2()