作业帮 > 英语 > 作业

A question of JavaScript About arr

来源:学生作业帮 编辑:百度作业网作业帮 分类:英语作业 时间:2024/04/30 07:12:43
A question of JavaScript About arr
For example,this is a part of the program.
Var arr,level=9
arr=new Array()
arr[0]=new Array()
Question:What's the meaning of arr?How to use it?
A question of JavaScript About arr
javascript is a Dynamic Scripting Language
var arr; // means that arr can be an integer,time(),array,etc.
arr = new Array() // means now arr is an array
arr[0] = new Array() // means that the first value of arr is an array
arr[1] = 12; // means the second value of arr is a integer
Damn English...