Fix undeclared variable in node runtime
commit00efb338ffc61def70a3deb5aebc47d1f76203de
authorChristophe Calvès <Christophe.Calves@gmail.com>
dateTue 1 Aug 2017, 19:00 (9 years ago)
parent70f172c
jsrts/Runtime-node.js+1−1
@@ -22,7 +22,7 @@ $JSRTS.prim_readStr = function () {
2222 }
2323 i++;
2424 if (i == b.length) {
25− nb = new Buffer(b.length * 2);
25+ var nb = new Buffer(b.length * 2);
2626 b.copy(nb)
2727 b = nb;
2828 }