summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/collections/bug-1863391-2.js
blob: 5174f5ff161210cc43dcc51fc62892d1321845a5 (plain)
1
2
3
4
5
6
// |jit-test| --enable-symbols-as-weakmap-keys; skip-if: helperThreadCount() === 0 || getBuildConfiguration("release_or_beta")
evalInWorker(`
  a = new WeakMap
  b = Symbol.hasInstance;
  a.set(b, 2);
`);