Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo authored Sep 10, 2023
1 parent 805577c commit 2e837c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interpreter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export class Interpreter {

case 'str': return STR(node.value);

case 'arr': return ARR(await Promise.all(node.value.map(async item => await this._eval(item, scope))));
case 'arr': return ARR(await Promise.all(node.value.map(item => this._eval(item, scope))));

case 'obj': {
const obj = new Map() as Map<string, Value>;
Expand Down

0 comments on commit 2e837c2

Please sign in to comment.