const names = [{name:"John"}, {name:"James"}, {name:"Jake"}]; const [first,second] = names; console.log(first);/*yields {name:"John"}*/ console.log(second); /*yield {name:"James"} */