Page MenuHomePhorge

test_jit_num_add_ok.js
No OneTemporary

Size
308 B
Referenced Files
None
Subscribers
None

test_jit_num_add_ok.js

// 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

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)

Event Timeline