Skip to content

Commit 112bd63

Browse files
committed
Cherry-pick from PR emscripten-core#26609
1 parent a2ab145 commit 112bd63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/libwasmfs_node.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ function makeStub(x, library) {
243243
});
244244
}
245245

246-
for (var x in wasmFSNodeLibrary) {
247-
makeStub(x, wasmFSNodeLibrary);
246+
for (const name of Object.keys(wasmFSNodeLibrary)) {
247+
makeStub(name, wasmFSNodeLibrary);
248248
}
249249
#endif
250250

0 commit comments

Comments
 (0)