Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7535389
test_jit_num_add_ok.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
308 B
Referenced Files
None
Subscribers
None
test_jit_num_add_ok.js
View Options
// Control test: JIT ADD with numbers only (no bailout) — should NOT crash
function
test
()
{
const
arr
=
[
1
,
2
,
3
,
4
,
5
];
const
result
=
arr
.
map
((
v
)
=>
{
return
v
+
10
;
});
return
result
;
}
for
(
let
i
=
0
;
i
<
25
;
i
++
)
{
const
r
=
test
();
if
(
i
===
24
)
console
.
log
(
'OK:'
,
r
.
join
(
', '
));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 17, 12:04 PM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
568232
Default Alt Text
test_jit_num_add_ok.js (308 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment