哪位帮忙看看这几句英文的意思,谢了!
AZUMA 2005-01-09 03:00:14 3.Creat a function by javascript with following requirements:
Function aaa
Parameter: An array of names,represented as strings
Return: the number of names in the given array that end in “y”
4.Creat a function by javascript with following requirements:
Function bbb
Parameter: A number
Return: the number with its digits in reverse order
5.Create an HTML document with five buttons. Labeled “red”,”green”,”blue”,”yellow” and”orange”. The event handlers for these buttons must produce messages stating the chosen favorite color. The event handler must be implemented as a function,whose name must be assigned to the onClick attribute of the radio button elements.the chosen color muet be sent to the event handler as a parameter
6.Rewrite the file for questions 5 to assign the event handler to the event property of the radio button element. The requires the chosen color to be obtained from the value property of the button element rather than through parameter.