diff --git a/file.js b/file.js index 2257b86..225d046 100644 --- a/file.js +++ b/file.js @@ -16,7 +16,7 @@ export default class File extends Blob { super(fileBits, options); const modified = Number(options.lastModified); - this.#lastModified = Number.isNaN(modified) ? modified : Date.now() + this.#lastModified = Number.isNaN(modified) ? Date.now() : modified this.#name = fileName; }