Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- bugfix - Fix optional dynamic-property/function not recognized. #469

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

kaizhu256
Copy link
Member

Fixes #468 .

  • bugfix - Fix optional dynamic-property/function not recognized.

This PR will allow jslint to recognize following optional-dynamic-property, and optional-function-call syntax:

let bar;
let foo;
// ...
foo = foo?.[bar];
foo = foo?.(bar);

This PR will additionally:

  • ci - Update file jslint_ci.sh shell-function shHttpFileServer() to auto-serve /index.html, when url-path is root /.

image

@kaizhu256 kaizhu256 force-pushed the branch-p2024.11.9 branch 2 times, most recently from 421f6e8 to ed25389 Compare November 11, 2024 00:34
@kaizhu256 kaizhu256 merged commit a558826 into jslint-org:beta Nov 11, 2024
6 checks passed
@kaizhu256 kaizhu256 deleted the branch-p2024.11.9 branch November 11, 2024 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug report: Optional Chaining With Array Index Not Recognized
1 participant