Skip to content

Commit

Permalink
im so stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
jwklong authored Jan 11, 2025
1 parent 0df363a commit 12c6376
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/extensions/jwArray/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,12 +378,10 @@ class Extension {
if (util.stackFrame.execute) {
util.stackFrame.index++;
const { index, entry } = util.stackFrame;
console.debug(index, entry)
if (index > entry.length - 1) return;
util.thread.stackFrames[0].jwArray = entry[index];
} else {
const entry = Object.entries(ARRAY);
console.debug(0, entry)
const entry = Object.entries(ARRAY.array);
if (entry.length === 0) return;
util.stackFrame.entry = entry;
util.stackFrame.execute = true;
Expand Down

0 comments on commit 12c6376

Please sign in to comment.