Skip to content

Commit

Permalink
Fix undeclared variable in node runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
chrilves committed Aug 1, 2017
1 parent 70f172c commit 00efb33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsrts/Runtime-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 00efb33

Please sign in to comment.