Atualizar dados Firebase Firestore JavaScript

db.collection('orders').doc('docId').update({
  property: value,
}).then(() => console.log('Data updated'))
coderkhalid