iT邦幫忙

2017 iT 邦幫忙鐵人賽
DAY 15
0
Modern Web

網頁程式設計so easy系列 第 15

Day14 [javascript練習-2]

  • 分享至 

  • xImage
  •  

http://www.ugrad.cs.ubc.ca/~cs101/2013W2/practice-questions/prejavascriptartlab/

Problem: Write a function called arraySum that returns the sum of an array
Answer

Problem: Write a function that returns an array of length n populated with random numbers from 0-9
Answer

Problem: Write a function that takes an array and prints out the numbers to the DOM (think of this as the screen if you don't know what the DOM is) using document.write(). Your HTML page should have a single row of numbers
Answer

Problem: Write a function that returns a two dimensional array of length and height n populated with random number from 0-9.
Answer

Problem Write a function that takes a two dimensional array and prints out the numbers to the DOM using document.write(). Your HTML page should have a square of numbers
Answer

歡迎各位提供更好的答案喔!

CS50_javaScript課程


上一篇
Day13 [javaScript練習-1]
下一篇
Day15 [淺談Web應用程式]
系列文
網頁程式設計so easy30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言