Get Array Input From User In Javascript Object Destructuring Syntax