In javascript code involving an array, I encounter the following syntax in some javascript code using Vue.js.
let newpath = [...item.path];
I tried to find what it may do but I can't find any documentation.
Anyone can explain what is may do and in which situation it may be useful?