134 lines
2.6 KiB
Plaintext
134 lines
2.6 KiB
Plaintext
|
|
-----------------------------------------------------
|
|
EXPRESSION: weakMap
|
|
ENTRIES:
|
|
[]
|
|
|
|
-----------------------------------------------------
|
|
EXPRESSION: weakMap.set(strongKey1, 1); weakMap.set(strongKey2, 2); weakMap
|
|
ENTRIES:
|
|
[
|
|
{
|
|
"_key": {
|
|
"_type": "object",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Object",
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_description": "Object",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "id",
|
|
"_type": "number",
|
|
"_value": "1"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
},
|
|
"_value": {
|
|
"_type": "number",
|
|
"_description": "1",
|
|
"_value": 1
|
|
}
|
|
},
|
|
{
|
|
"_key": {
|
|
"_type": "object",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Object",
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_description": "Object",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "id",
|
|
"_type": "number",
|
|
"_value": "2"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
},
|
|
"_value": {
|
|
"_type": "number",
|
|
"_description": "2",
|
|
"_value": 2
|
|
}
|
|
}
|
|
]
|
|
|
|
-----------------------------------------------------
|
|
EXPRESSION: delete window.strongKey1; weakMap
|
|
ENTRIES:
|
|
[
|
|
{
|
|
"_key": {
|
|
"_type": "object",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Object",
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_description": "Object",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "id",
|
|
"_type": "number",
|
|
"_value": "2"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
},
|
|
"_value": {
|
|
"_type": "number",
|
|
"_description": "2",
|
|
"_value": 2
|
|
}
|
|
}
|
|
]
|
|
|
|
-----------------------------------------------------
|
|
EXPRESSION: weakMap.set({id:3}, 3); weakMap.set({id:4}, 4); weakMap
|
|
ENTRIES:
|
|
[
|
|
{
|
|
"_key": {
|
|
"_type": "object",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Object",
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_description": "Object",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "id",
|
|
"_type": "number",
|
|
"_value": "2"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
},
|
|
"_value": {
|
|
"_type": "number",
|
|
"_description": "2",
|
|
"_value": 2
|
|
}
|
|
}
|
|
]
|
|
|
|
-----------------------------------------------------
|
|
EXPRESSION: delete window.strongKey2; weakMap
|
|
ENTRIES:
|
|
[]
|
|
|