Skip to content

Incorrect Javascript syntax highlighting with typeof value and less than (or equal to) operator #1050

Description

@zedd3v

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.96.2
  • OS Version: macOS 15.3.2 (24D81), Darwin arm64 24.3.0

Steps to Reproduce:

x = typeof y < 'z';
if (x) {
} else {
}

Image

Image

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions