-
-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
I have a suggestion.
When transpiling code like the following:
const [x, y] = an_array
The current result is:
local x, y = table.unpack(an_array)
I would suggest adding range to the unpack function, such as
local x, y = table.unpack(an_array, 1, 2)
It will greatly improve compatibility with TypeScript and should be more efficient to run.
RodrigoDornelles
Metadata
Metadata
Assignees
Labels
No labels