0

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

return { id, ...data };

robsiemb
  • 6,157
  • 7
  • 32
  • 46
MVDeveloper1
  • 208
  • 4
  • 11

1 Answers1

1

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

jarodsmk
  • 1,876
  • 2
  • 21
  • 40