Firebase Google Auth Web JS

I am successfully integrated firebase google auth web. I was getting this below response. how can i get only additionalUserInfo in js This is response after successfully sign in This is code

function googleSignin() {
    base_proveider =new firebase.auth.GoogleAuthProvider()
    firebase.auth().signInWithPopup(base_proveider).then(function(result){
        console.log(result)
        console.log("success google account linked")
    }).catch(function(err){
        console.log(err)
        console.log('fialed to do')

    })
  }