function gotFileSystem(fs) {
let path = "";
fs.root.getFile(
"data.json",
{ create: true, exclusive: true },
(entry) => {
path = fullPath;
},
handleError(error),
);
return path;
}FileSystemEntry: fullPath property / notebook
FileSystemEntry: fullPath property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.