how to store document data from firebase in a js variable code example
Example: write firebase data using variables javascript
foo = {};
foo[variable] = 'more stuff';
fb.set(foo);
foo = {};
foo[variable] = 'more stuff';
fb.set(foo);