Gorilla Logic Interview Question

Write down an simple example of array deconstruction in JS

Interview Answer

Anonymous

Jan 26, 2021

const [elem1, elem2, elem3] = arr