Skip to content

Commit

Permalink
Remove unnecessary format!()
Browse files Browse the repository at this point in the history
  • Loading branch information
unstubbable committed Oct 18, 2024
1 parent 4a07fe9 commit 4dc5b9c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2000,11 +2000,11 @@ fn attach_name_to_default_expr(ident: &Ident, extra_items: &mut Vec<ModuleItem>)
callee: Callee::Expr(Box::new(Expr::Member(MemberExpr {
span: DUMMY_SP,
obj: Box::new(Expr::Ident(Ident::new(
format!("Object").into(),
"Object".into(),
DUMMY_SP,
ident.ctxt,
))),
prop: MemberProp::Ident(IdentName::new(format!("defineProperty").into(), DUMMY_SP)),
prop: MemberProp::Ident(IdentName::new("defineProperty".into(), DUMMY_SP)),
}))),
args: vec![
ExprOrSpread {
Expand Down

0 comments on commit 4dc5b9c

Please sign in to comment.