JsExprStmt exprStmt = (JsExprStmt) statement;
expression = exprStmt.getExpression();
} else if (statement instanceof JsReturn) {
// Extract the return value
JsReturn ret = (JsReturn) statement;
expression = ret.getExpr();
if (expression == null) {
expression = new JsNameRef(ret.getSourceInfo(),
JsRootScope.INSTANCE.getUndefined());
}
} else if (statement instanceof JsVars) {
// Create a comma expression for variable initializers