objects directly used as properties now instead of shadow symbol table

This commit is contained in:
2026-01-23 23:33:52 -06:00
parent 0d93741c31
commit d8b13548d2
2 changed files with 295 additions and 102 deletions

View File

@@ -3501,12 +3501,4 @@ return {
if (obj.beta[1] != obj) throw "text key cycle failed"
},
test_gc_array_object_key_mix: function() {
var obj = {}
var arr = [obj]
obj[arr] = "anchor"
obj.self = obj
if (obj[arr] != "anchor") throw "array object key failed"
if (arr[0] != obj) throw "array object mix failed"
},
}