summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/basic/bug618853.js
blob: 9c80b7fee2bbd4961b7219016557007cfb2ca03b (plain)
1
2
3
4
5
6
7
8
9
10
11
12

try { new isNaN; } catch (e) {}
new Array;
new Boolean;
new Date;
new Number;
new Object;
new String;
try { new [].push(4); } catch (e) {}
try { new [1,2,3].pop(); } catch (e) {}
try { new "a,b,c".split(","); } catch (e) {}
try { new Array.concat(3); } catch (e) {}