Possible to destructure in JavaScript via bracket notation?
Destructuring can be done with computed property:
const { [arrayName]: arrayToPrint } = myArrays;
Destructuring can be done with computed property:
const { [arrayName]: arrayToPrint } = myArrays;