---
title: "Comment by Mads B. Cordes on \"Destructuring in JavaScript. What is it? How does it work? Why should you use it?\" | Hashnode"
description: "I do love to use destructuring for most everything in my JS code-bases 🤓 But your article actually got me curious which one is actually faster 🤔 So I made a q"
url: "https://hashnode.com/posts/destructuring-in-javascript-what-is-it-how-does-it-work-why-should-you-use-it/626f794c238a6ff3d7dc792b/comment/6270bfd69ed78401a6408d8c"
---

[Discussion](https://hashnode.com/posts/destructuring-in-javascript-what-is-it-how-does-it-work-why-should-you-use-it/626f794c238a6ff3d7dc792b)

Comment [Destructuring in JavaScript. What is it? How does it work? Why should you use it?](https://hashnode.com/posts/destructuring-in-javascript-what-is-it-how-does-it-work-why-should-you-use-it/626f794c238a6ff3d7dc792b)

[Mads B. Cordes](https://hashnode.com/@madco)

[May 3, 2022](https://hashnode.com/posts/destructuring-in-javascript-what-is-it-how-does-it-work-why-should-you-use-it/626f794c238a6ff3d7dc792b/comment/6270bfd69ed78401a6408d8c)

I do love to use destructuring for most everything in my JS code-bases 🤓 But your article actually got me curious which one is actually faster 🤔

So I made a quick [benchmark](https://hasty.dev/YioqobdhtsKQjX6jyLBLn5) seems like they're pretty much on par, so I'll always go with the destructuring then 😍 - Hopefully the V8-team will increase the performance of this in the future though!

[Tomek Skupiński](https://hashnode.com/@focusinsky)

[May 3, 2022](https://hashnode.com/posts/destructuring-in-javascript-what-is-it-how-does-it-work-why-should-you-use-it/626f794c238a6ff3d7dc792b/comment/6270bfd69ed78401a6408d8c#reply-6270d5f9339f010181020a14)

Hey Mads, that's a great insight. And the cool tool for making benchmarks. I used to play a lot with benchmarks in the Ruby ecosystem (that's the language I have worked with most), need to give it a spin in JS.
