Skip to content

Conversation

@Constellation
Copy link
Member

In SunSpider/date-format-xparb.js and worker/bomb-subtests/date-format-tofte.js, we are unnecessarily creating String object from string. But we can just use String. This patch changes new String(...) to String(...) for stringifying.

@netlify
Copy link

netlify bot commented May 19, 2025

Deploy Preview for webkit-jetstream-preview ready!

Name Link
🔨 Latest commit 864f8e2
🔍 Latest deploy log https://app.netlify.com/projects/webkit-jetstream-preview/deploys/682bb9ad61992600083f2cb3
😎 Deploy Preview https://deploy-preview-72--webkit-jetstream-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Constellation Constellation force-pushed the new-string branch 3 times, most recently from 6c2480b to 400c1fc Compare May 19, 2025 23:05
In date-format-xparb and date-format-tofte,
we are unnecessarily creating String object from string. But we can just
use String. This patch changes `new String(...)` to `String(...)` for
stringifying.
Copy link
Contributor

@kmiller68 kmiller68 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kmiller68
Copy link
Contributor

CC @iainireland, @camillobruni, @danleh

@Constellation Constellation merged commit 6947a46 into WebKit:main Jun 4, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants