-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapiTest.js
More file actions
56 lines (43 loc) · 839 Bytes
/
Copy pathapiTest.js
File metadata and controls
56 lines (43 loc) · 839 Bytes
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// One Line Comment
/* Multi
* Line
* Comment
*/
//var a = 4;
//var b = 2;
//var result = a + b;
function my_function(a)
{
//var result;
//
//result = 20;
return (a + 5.31) * 0.2345;
}
var a = 0;
var b = 256;
var c;
var result = 2;
var stuckRef = globalThis;
label loop;
var max_iteration = 1000000;
for (var index = 0; index <= max_iteration; index+=max_iteration/100)
{
globalThis[index] = my_function(index);
globalThis["test_plugin_function"](globalThis[index]);
}
globalThis[0.123456789123456789] = 0;
globalThis[0.123456789] = 0;
globalThis[0.5555] = 0;
globalThis[0.5] = 0;
globalThis[0.25] = 0;
globalThis[0.125] = 0;
globalThis[0] = 0;
globalThis.something_that.do_not_exists = 0;
//if (result)
//{
// test_plugin_function(((a % b) + 1) == b, a, b);
//}
//else
//{
// goto end_thing;
//}