summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1754968.js
blob: 534b4631ccf4aac1a1382f577928ca69c5afabc8 (plain)
1
2
3
4
const root = {a:0, b:0};
const subclass = Object.create(root);
const instance = Object.create(subclass);
Object.assign(subclass, root);