You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Safari has supported rest parameters since version 10. When targeting recent versions of Safari (e.g. "Safari >= 15"), SWC transforms rest parameters using a for loop.
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
Safari has supported rest parameters since version 10. When targeting recent versions of Safari (e.g. "Safari >= 15"), SWC transforms rest parameters using a for loop.
Input code
Config
Playground link
https://play.swc.rs/?version=1.2.129&code=H4sIAAAAAAAAA0srzUsuyczPU0jLz9fQ09NLLEov1lSo5lJQSM7PK87PSdXLyU%2FXAIty1XJxgVQZ6hjpGGsCAMQsaGQ5AAAA&config=H4sIAAAAAAAAA0WOPQrDMAxGrxI0Z%2BmQDoH2Bp16AuHKwSX%2BQXJKg%2FHdK5uUbJK%2B9z1U4C0G5gIJWYjbJHvI%2BIUZyHgUwy5lGBXTk8VVqI6QkRfKDZFJszVGoSMdwbvg7N5MJvrEJHJGGJb1T1YV%2Bfja2qFA3hN14RXq6Th6Th4HmHnTncKnd%2FobqocnWmQ33G%2FDZYJaf9Mhm07WAAAA
Expected behavior
The code should be untransformed:
Actual behavior
Version
1.2.129
Additional context
No response
The text was updated successfully, but these errors were encountered: