Skip to content

Assertion failed when modifying a variable from within init #1186

Closed

Description

@pitust

Here is a sample:

let a = (a = 4, 3);

Activity

  1. pitust commented on Mar 27, 2020

    @pitust
    Author

    #1190 doesn't fix this. This still is valid JS:

    var a = (a = 4, 3);
  2. MaxGraey commented on Mar 27, 2020

    @MaxGraey
    Member
  3. pitust commented on Mar 28, 2020

    @pitust
    Author

    Oh, i didn't know that. I don't do a lot of typescript normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions