const fileEntry = fs.root.getFile("logs.txt", { create: true });DirectoryEntrySync / notebook
DirectoryEntrySync
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
const dirEntry = fs.root.getDirectory("project_dir", { create: true });