0

Piece of code from angularfire in firestore query. https://github.com/angular/angularfire/blob/master/docs/firestore/collections.md

return { id, ...data };

robsiemb
  • 5,669
  • 7
  • 30
  • 40
MVDeveloper1
  • 188
  • 3
  • 11

1 Answers1

1

Why that's referred to as spread syntax! :)

jarodsmk
  • 1,693
  • 1
  • 18
  • 37