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

refactor: replace indexOf === 0 with startsWith #68116

Merged

Commits on Jul 24, 2024

  1. refactor(webpack/loaders): replace indexOf === 0 with startsWith

    It is more readable to call `startsWith` than to call `indexOf === 0`
    and compare the result with zero to determine whether a string starts
    with a given prefix.
    
    Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
    Juneezee committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    0bce62b View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

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