Comparing version 0.0.3 to 0.0.4
@@ -111,18 +111,17 @@ /* | ||
while (this.frames.length !== 0) { | ||
cur = this.frames.pop(); | ||
cur = this.frames[this.frames.length - 1]; | ||
if (cur.shouldDelayExecution()) { | ||
this.frames.push(cur); | ||
cur.pushUnevaluatedArguments(this.frames); | ||
continue; | ||
} | ||
cur = this.frames.pop(); | ||
let result = cur.evaluate(); | ||
while (result === NULL) { | ||
cur = this.frames.pop(); | ||
cur = this.frames[this.frames.length - 1]; | ||
if (cur.shouldDelayExecution()) { | ||
this.frames.push(cur); | ||
cur.pushUnevaluatedArguments(this.frames); | ||
continue OUTER; | ||
} | ||
cur = this.frames.pop(); | ||
result = cur.evaluate(); | ||
@@ -129,0 +128,0 @@ } |
{ | ||
"name": "tallstack", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "A library that allows you to define recursive functions in JavaScript without stack overflow.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10942