Timeline for Spread operator solidity
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 3, 2022 at 19:52 | comment | added | 0xTheL | There's no spread operator on solidity. You can loop over the array and copy it's values (spend more gas) or just assign an array to another. You can even create a function that returns a memory array. | |
Oct 3, 2022 at 19:28 | answer | added | Pierrick | timeline score: 2 | |
Oct 3, 2022 at 16:39 | history | asked | Jo1234 | CC BY-SA 4.0 |