镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

String.prototype.substr() deprecation #1958

Open

Description

@Martii

What’s missing?

https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/substr migration.

Why?

Because JavaScript (ECMAScript) API has issues with keeping constant methods in place and wants to make it look like they are unique outside of C/CPP. 😸

Alternatives you tried

n/a

NOTE(s):

  • slice should work with most of ours with a little finagling.

REF(s):

Activity

  1. added
    enhancementSomething we do have implemented already but needs improvement upon to the best of knowledge.
    migrationUse this to indicate that it may apply to an existing or announced migration.
    CODESome other Code related issue and it should clearly describe what it is affecting in a comment.
    on May 24, 2022
  2. changed the title [-]String.prototype.substr()[/-] [+]String.prototype.substr() deprecation[/+] on May 24, 2022
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

    CODESome other Code related issue and it should clearly describe what it is affecting in a comment.enhancementSomething we do have implemented already but needs improvement upon to the best of knowledge.migrationUse this to indicate that it may apply to an existing or announced migration.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions