From 09fd40448a9474f0010126e2773319b189f5d80c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimmy=20W=C3=A4rting?= Date: Thu, 10 Jun 2021 10:33:00 +0200 Subject: [PATCH] Update file.js --- file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.js b/file.js index c4d4972..2257b86 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(this.#lastModified) ? modified : Date.now() + this.#lastModified = Number.isNaN(modified) ? modified : Date.now() this.#name = fileName; }