summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1750496.js
blob: 1cac966546679e8386711fbb324b7c5ce7843d8b (plain)
1
2
3
4
5
6
7
8
// |jit-test| --ion-offthread-compile=off; --ion-warmup-threshold=6; --baseline-warmup-threshold=0; --small-function-length=1024; --inlining-entry-threshold=1; --trial-inlining-warmup-threshold=5; 
for (let v1 = 0; v1 < 4; v1++) {
    const v28 = "aa".split('');
    v28[0] = 1;
    const v35 = "aa".split('');
    assertEq(v35[0], "a");
    assertEq(Object.is(v35, v28), false);
}