Firebase Auth Sign Out JavaScript

firebase.auth().signOut().then(function() {
  console.log('Signed Out');
}, function(error) {
  console.error('Sign Out Error', error);
});
Thankful Tern