Files
sausage/host/cred-script/vendor/rquickjs-sys/quickjs/tests/bug652.js
T

5 lines
132 B
JavaScript

import { assert } from "./assert.js"
const ref = new WeakRef({})
const val = ref.deref() // should not throw
assert(val, undefined)