Skip to content

Commit

Permalink
Update file.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmywarting authored Jun 10, 2021
1 parent 8d14e88 commit 09fd404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 09fd404

Please sign in to comment.