blob: c0ac38a460cf5ce15de17389f420dbaa65b4bb89 [file] [log] [blame]
-----------------------------------------------------
EXPRESSION: new Promise(function(){})
{
"_type": "object",
"_objectId": "<filtered>",
"_description": "Promise",
"_preview": {
"_type": "object",
"_description": "Promise",
"_lossless": false,
"_overflow": false,
"_properties": [
{
"_name": "status",
"_type": "string",
"_value": "pending",
"_internal": true
}
],
"_entries": null
}
}
-----------------------------------------------------
EXPRESSION: Promise.reject()
{
"_type": "object",
"_objectId": "<filtered>",
"_description": "Promise",
"_preview": {
"_type": "object",
"_description": "Promise",
"_lossless": false,
"_overflow": false,
"_properties": [
{
"_name": "status",
"_type": "string",
"_value": "rejected",
"_internal": true
},
{
"_name": "result",
"_type": "undefined",
"_value": "undefined",
"_internal": true
}
],
"_entries": null
}
}
-----------------------------------------------------
EXPRESSION: Promise.reject("result")
{
"_type": "object",
"_objectId": "<filtered>",
"_description": "Promise",
"_preview": {
"_type": "object",
"_description": "Promise",
"_lossless": false,
"_overflow": false,
"_properties": [
{
"_name": "status",
"_type": "string",
"_value": "rejected",
"_internal": true
},
{
"_name": "result",
"_type": "string",
"_value": "result",
"_internal": true
}
],
"_entries": null
}
}
-----------------------------------------------------
EXPRESSION: Promise.resolve()
{
"_type": "object",
"_objectId": "<filtered>",
"_description": "Promise",
"_preview": {
"_type": "object",
"_description": "Promise",
"_lossless": false,
"_overflow": false,
"_properties": [
{
"_name": "status",
"_type": "string",
"_value": "resolved",
"_internal": true
},
{
"_name": "result",
"_type": "undefined",
"_value": "undefined",
"_internal": true
}
],
"_entries": null
}
}
-----------------------------------------------------
EXPRESSION: Promise.resolve({result:1})
{
"_type": "object",
"_objectId": "<filtered>",
"_description": "Promise",
"_preview": {
"_type": "object",
"_description": "Promise",
"_lossless": false,
"_overflow": false,
"_properties": [
{
"_name": "status",
"_type": "string",
"_value": "resolved",
"_internal": true
},
{
"_name": "result",
"_type": "object",
"_valuePreview": {
"_type": "object",
"_description": "Object",
"_lossless": true,
"_overflow": false,
"_properties": [
{
"_name": "result",
"_type": "number",
"_value": "1"
}
],
"_entries": null
},
"_internal": true
}
],
"_entries": null
}
}