-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy patharrlit.js
36 lines (28 loc) · 1.09 KB
/
arrlit.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
function test()
{
return [ 0 , 1, 2 ,3,4 ,5, 6,7,8, 9, 255, 256, 65535, 65536, -1];
};
function test2()
{
return [ 0 , 1, 2 ,3,4 ,5, 6,7,8, 9, 255, 256, 65535, 65536, -1, 1, 2, 3, 4, 5, 6, 7, 1 ,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];
};
function test3()
{
return [ 0 , 1.1, 2 ,3,4 ,5, 6,7,8, 9, 255, 256, 65535, 65536, -1, 1, 2, 3, 4, 5, 6, 7, 1 ,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];
};
for (var i = 0; i < 2; i++)
{
WScript.Echo(test().join(","));
}
for (var i = 0; i < 2; i++)
{
WScript.Echo(test2().join(","));
}
for (var i = 0; i < 2; i++)
{
WScript.Echo(test3().join(","));
}