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

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.

1 participant