Answer:
The use of Javascripts can validate input responses from clients and prevent certain attack methodologies
Step-by-step explanation:
A javascript is basically a “client-side scripting language” mostly use to capture data or to validate the response from the client in the client side. It avoids unnecessary transfer of information from client side to the server side, thus making the online web application to work faster. I
t is also used to add special effects or dynamic pages. It works well with HTML which is a language understood by the browser. So, a javascript is called by an element from the HTML. The function call is very similar to the function call made in the other programming languages.