The owner
read-only property of the DataStore interface returns the name of the app that owns the current data store.
Syntax#
Value#
A DOMString
.
Example#
The following example gets all the data stores on the device called "contacts", then logs the data store owner to the console: