import { Node , ESTree } from "../../Node" ; import { BaseClosure , } from '../../Closure' ; import { Messages } from '../../Message' ; import { Interpreter } from '../../../interpreter/main' ; export function sequenceExpressionHandler ( this , node ) { const expressions = node . expressions . map ( item => this . createClosure ( item ) ) ; return ( ) => { let result ; const len = expressions . length ; for ( let i = 0 ; i < len ; i ++ ) { const expression = expressions [ i ] ; result = expression ( ) ; } return result ; } ; }