Skip to content

Commit

Permalink
docs(transformer/class-properties): remove oudated todo for assignmen…
Browse files Browse the repository at this point in the history
…t expression
  • Loading branch information
Dunqing committed Dec 17, 2024
1 parent de8a86e commit e02c28e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,6 @@ impl<'a, 'ctx> ClassProperties<'a, 'ctx> {

let prop_ident = prop_binding.create_read_expression(ctx);

// TODO: Different output in for statements e.g. `private/1-helpermemberexpressionfunction/input.js`

if operator == AssignmentOperator::Assign {
// `object.#prop = value` -> `_classPrivateFieldSet2(_prop, object, value)`
*expr = self.create_private_field_set(prop_ident, object, value, span, ctx);
Expand Down

0 comments on commit e02c28e

Please sign in to comment.