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