added error message to NewObject/ArrayExpression