Add profile for calling functions on members of a heterogeneous array
This commit is contained in:
parent
59df213e66
commit
d225e09d5d
10
contrib/codeanalysis/heterogenous_array_loop.chai
Normal file
10
contrib/codeanalysis/heterogenous_array_loop.chai
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
var my_array=["1", 4, 6.6, 10, "1000", 100, 10.9 ];
|
||||
|
||||
for (var j = 0; j < 10000; ++j)
|
||||
{
|
||||
for (var i = 0; i < 6; ++i)
|
||||
{
|
||||
to_string(my_array[i]);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user