Consider the following code: The code displays a pop-up alert message if the username is less than 6 characters and submits the form. What change should be made to prevent the form from submitted if the username is less than 6 characters?
Scarlet has the following code in her script: Var namesArr =[''Joseph',' Charlotte'', ''Nicole'']; She wants to add the name Hank to the end of the array so that its length is 4. What code should she use?