[webkit-changes] [WebKit/WebKit] d7bdc4: [JSC] Use `var` instead of `let` in built-in `Iter...

SUZUKI Sosuke noreply at github.com
Wed May 22 22:43:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d7bdc4ae05980d538508f43938c1e1ee21b844bd
      https://github.com/WebKit/WebKit/commit/d7bdc4ae05980d538508f43938c1e1ee21b844bd
  Author: Sosuke Suzuki <aosukeke at gmail.com>
  Date:   2024-05-22 (Wed, 22 May 2024)

  Changed paths:
    M Source/JavaScriptCore/builtins/IteratorHelpers.js

  Log Message:
  -----------
  [JSC] Use `var` instead of `let` in built-in `IteratorHelpers.js`
https://bugs.webkit.org/show_bug.cgi?id=274453

Reviewed by Alexey Shvayka.

In the built-in JS files, `var` was adopted instead of `let` / `const` by 219251 at main[1]. However,
in the functions in `IteratorHelpers.js` added by 250474 at main[2], `let` is used.

This patch changes to use `var` instead of `let`.

[1]: https://commits.webkit.org/219251@main
[2]: https://commits.webkit.org/250474@main

* Source/JavaScriptCore/builtins/IteratorHelpers.js:
(set linkTimeConstant.builtinMapIterable):

Canonical link: https://commits.webkit.org/279180@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list