Bug 274453 - [JSC] Use `var` instead of `let` in built-in `IteratorHelper.js
Summary: [JSC] Use `var` instead of `let` in built-in `IteratorHelper.js
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-05-21 01:01 PDT by Sosuke Suzuki
Modified: 2024-05-22 22:44 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sosuke Suzuki 2024-05-21 01:01:55 PDT
In the built-in JS files, `var` was adopted instead of `let` / `const` by 219251@main[1]. However, in
    the functions in `IteratorHelpers.js` added by 250474@main[2], `let` is used.
        
    [1]: https://commits.webkit.org/219251@main
    [2]: https://commits.webkit.org/250474@main
Comment 1 Sosuke Suzuki 2024-05-21 01:04:10 PDT
Pull request: https://github.com/WebKit/WebKit/pull/28840
Comment 2 EWS 2024-05-22 22:43:38 PDT
Committed 279180@main (d7bdc4ae0598): <https://commits.webkit.org/279180@main>

Reviewed commits have been landed. Closing PR #28840 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2024-05-22 22:44:14 PDT
<rdar://problem/128587748>