Skip to content

Commit 166b381

Browse files
committed
[js] Fix undeclared variable.
1 parent 659181a commit 166b381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm/js/nqp-runtime/reprs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ P6opaque.prototype.serializeReprData = function(st, cursor) {
199199
var numAttrs = st.REPR.flattenedStables.length;
200200
cursor.varint(numAttrs);
201201

202-
STARTING_OFFSET = cursor.offset;
202+
var STARTING_OFFSET = cursor.offset;
203203

204204
for (var i = 0; i < numAttrs; i++) {
205205
if (st.REPR.flattenedStables[i] == null) {

0 commit comments

Comments
 (0)