Add javascript codegen for Constant::Var
@@ -1124,8 +1124,7 @@ pub(crate) fn constant_expression<'a>(
feature: "Bit string syntax".to_string(),
location: *location,
}),
- // TODO: Emit javascript for Constant::Var variant.
- Constant::Var { .. } => unimplemented!(),
+ Constant::Var { name, .. } => Ok(name.to_doc()),
}
}
