哪位帮忙看看这几句英文的意思,谢了!

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.
...全文
72 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
skyboy0720 2005-01-09
  • 打赏
  • 举报
回复
可不可以说:DCJC呢!:)
AZUMA 2005-01-09
  • 打赏
  • 举报
回复
谢了,那就好人做到底吧:)
程序源码应该不多,贴上来50分再送上!
这是女朋友的实训题,不玩JS好多年,手太生了……
AZUMA 2005-01-09
  • 打赏
  • 举报
回复
在线等……
DeltaCat 2005-01-09
  • 打赏
  • 举报
回复
6. 重写问题5的文件,把BUTTON的响应事件赋给单选按钮的事件属性。并且要求所选的颜色通过BUTTON的VALUE属性获得,而不是通过参数。
skyboy0720 2005-01-09
  • 打赏
  • 举报
回复
去抓耗子了?!
DeltaCat 2005-01-09
  • 打赏
  • 举报
回复
5. 创建一个包含5个BUTTON的HTML文件。五个BUTTON的标签(值)分别为:red,green,blue,yellow和orange。BUTTON的响应事件必须输出表明所选喜欢的颜色的信息。响应事件必须以函数的形式实现,他们的函数名必须赋给单选按钮的ONCLICK事件。选择的颜色必须作为BUTTON处理事件的参数。
DeltaCat 2005-01-09
  • 打赏
  • 举报
回复
3. 按下面的要求用JAVASCRIPT创建一个函数:
函数名: aaa
参数:一个由名字组成的数组,字符型
返回值:数组中以 “y” 结尾的名字的个数

4. 按下面的要求用JAVASCRIPT创建一个函数:
函数名: bbb
参数:一个数字
返回值:返回这个数字的反向排列(例如:输入 123,返回 321)

AZUMA 2005-01-09
  • 打赏
  • 举报
回复
挺烦的,英语没好好学……
mrshelly 2005-01-09
  • 打赏
  • 举报
回复
考试题???

87,904

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧