11 lines
291 B
JavaScript
11 lines
291 B
JavaScript
|
import BaseJSNode from './BaseJSNode.js';
|
||
|
export default class SequenceExpression extends BaseJSNode {
|
||
|
run() {
|
||
|
let result;
|
||
|
for (const expression of this.node.expressions) {
|
||
|
result = this.visitor.visitNode(expression);
|
||
|
}
|
||
|
return result;
|
||
|
}
|
||
|
}
|