Skip to content

Commit 170b203

Browse files
committed
Shorten FSNode code a bit
1 parent fe9a17d commit 170b203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library_fs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ FS.staticInit();
146146
this.name = name;
147147
this.mode = mode;
148148
this.rdev = rdev;
149-
this.atime = this.mtime = this.ctime = Date.now();
149+
this.timestamp = Date.now();
150150
}
151151
get read() {
152152
return (this.mode & this.readMode) === this.readMode;

0 commit comments

Comments
 (0)