This works for me. It's based on the fact that addr is zero when a file does not exist. When a file exists addr is not zero but points to an address in Storage.
var Storage = require("Storage");
The output is:
© Espruino, powered by microcosm.
Report a problem