Form Validation Program In Javascript Object Destructuring Assignment