blob: e2d5652b333022b722584b93fe87ffb7e7077bc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
function first(a) {
return a[0];
}
try {
first([function() {}]);
first([function() {}]);
oomAfterAllocations(50);
first([function() {}]);
} catch(e) {
// ignore oom
}
|