Commit bde4c6a5 by chenjinjing

no message

parent 816bd8d7
async function lanuch() {
testArr();
testArr(4, 8);
}
function randArray(len, min, max) {
......@@ -26,12 +26,12 @@ export function test() {
}
export function testArr() {
export function testArr(x, y) {
var arr = [];
var n=1;
for(var i = 0;i < 3; i++){
for(var i = 0;i < x; i++){
arr[i] = []; //每行有3列
for(var j = 0;j < 5; j++){
arr[i][0] = "数据名称"+(i+1);
for(var j = 1;j < y; j++){
arr[i][j] = rand(10 ,100);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment