summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/strict-catch-ident-syntax.js
blob: 2058e5aa29c844d3da6f9ec5ddf635802843468e (plain)
1
2
3
4
5
6
7
8
9
/* Parse correctly. */

function assignToClassListStrict(e) {
  "use strict";
  try {
    e.classList = "foo";
    ok(false, "assigning to classList didn't throw");
  } catch (e) { }
}