Skip to content

Conversation

@Forelyl
Copy link

@Forelyl Forelyl commented Oct 20, 2025

PR is about making next code to pass as valid
const {0: signal, 1: signal} = createSignal(5); // ... assume later correct signal usage
const {'0': signal, '1': signal} = createSignal(5); // ... assume later correct signal usage

Reason for adding this is because array destructuring in specs is defined using iterator, for more info please check next article (not mine): https://medium.com/@P0lip/array-destructuring-revisited-a43d991d1920

@Forelyl Forelyl requested a review from joshwilsonvu December 7, 2025 18:45
@Forelyl
Copy link
Author

Forelyl commented Dec 7, 2025

Sorry, my bad missed - an unused import

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