Fix undeclared variable in node runtime

This commit is contained in:
Christophe Calvès 2017-08-01 19:00:45 +02:00
parent 70f172c92a
commit 00efb338ff

View File

@ -22,7 +22,7 @@ $JSRTS.prim_readStr = function () {
}
i++;
if (i == b.length) {
nb = new Buffer(b.length * 2);
var nb = new Buffer(b.length * 2);
b.copy(nb)
b = nb;
}