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 (#7955)
  • Loading branch information
Dunqing committed Dec 17, 2024
1 parent 98340bb commit 18441af
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,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 18441af

Please sign in to comment.