exportVal method
Exports the entire contents of the DataSnapshot as a JavaScript object.
The exportVal() method is similar to val(), except priority
information is included (if available), making it suitable for backing up
your data.
Implementation
external JSAny? exportVal();