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

Clarify that lastIndex is RegExp instance property, not a static property #2725

Merged
merged 3 commits into from
Mar 8, 2021

Commits on Feb 26, 2021

  1. Configuration menu
    Copy the full SHA
    eeea79c View commit details
    Browse the repository at this point in the history
  2. Clarify: lastIndex is RegExp instance property

    This change updates the RegExp article to correct a misclassification of
    lastIndex as a static property; it’s not a static property, but instead
    an instance property.
    
    However, it’s not a property of RegExp.prototype but instead is only exposed
    from RegExp instances — so this change adds some special-casing for that in
    the article for lastIndex itself, as well as in the RegExp article.
    
    Fixes #2708
    sideshowbarker committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    294757b View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2021

  1. Configuration menu
    Copy the full SHA
    6daf22f View commit details
    Browse the repository at this point in the history