2 ms·
Or there's a third option, which is that the difference in performance doesn't matter for your application, which is the case the vast majority of the time. Des
by RussianCow 8y ago
Or there's a third option, which is that the difference in performance doesn't matter for your application, which is the case the vast majority of the time. Destructuring an array is not going to be a bottleneck for almost any piece of code.