summaryrefslogtreecommitdiff
path: root/src/wabt.post.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/wabt.post.js')
-rw-r--r--src/wabt.post.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wabt.post.js b/src/wabt.post.js
index 7ed0cb21..a89b08d4 100644
--- a/src/wabt.post.js
+++ b/src/wabt.post.js
@@ -95,7 +95,7 @@ function allocateCString(s) {
/// Features
function Features(obj) {
this.addr = Module._wabt_new_features();
- for ([f, v] of Object.entries(FEATURES)) {
+ for (var [f, v] of Object.entries(FEATURES)) {
this[f] = booleanOrDefault(obj[f], v);
}
}