Question: Code example 2-2 var add = function( X, Y) return (X+Y): } alert( add (5, 3)): (Refer to code example 2-2) The function in this

Code example 2-2 var add = function( X, Y) return (X+Y): } alert( add (5, 3)): (Refer to code example 2-2) The function in this example Select one: a. accepts 2 parameters and returns 1 value. b. accepts 2 parameters and does not return a value. C accepts 2 parameters and returns 2 values. d. does not accept a parameter and returns 1 value. Next po Write a complete code (html + JavaScript) to complete the following task User enters a value for the text boxe.g., "Pinky Then user click the button then it should display "Hello [value you entered)" what is your Cat's name? Pinky Sagara_Input Hello Pinky OK Rename the variables/functions with your last3digits of your student no and button text should contain your first name Search
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
