678 lines
16 KiB
Plaintext
678 lines
16 KiB
Plaintext
CONSOLE MESSAGE:
|
|
CONSOLE MESSAGE: apple,orange,banana
|
|
CONSOLE MESSAGE: [object Object]
|
|
CONSOLE MESSAGE: [object Object]
|
|
CONSOLE MESSAGE: John,Smith,Jane,Doe,Emily,Jones
|
|
CONSOLE MESSAGE: [object Object],[object Object],[object Object]
|
|
CONSOLE MESSAGE: [object Object],[object Object],[object Object]
|
|
CONSOLE MESSAGE: [object Object],[object Object]
|
|
|
|
STEP: console.table([])
|
|
{
|
|
"_source": "console-api",
|
|
"_level": "log",
|
|
"_messageText": "",
|
|
"_type": "table",
|
|
"_url": null,
|
|
"_line": 3,
|
|
"_column": 14,
|
|
"_repeatCount": 1,
|
|
"_parameters": [
|
|
{
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Array",
|
|
"_hasChildren": true,
|
|
"_size": 0,
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_description": "Array",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_size": 0,
|
|
"_properties": [],
|
|
"_entries": null
|
|
}
|
|
}
|
|
],
|
|
"_stackTrace": "<filtered>",
|
|
"_request": null
|
|
}
|
|
|
|
STEP: console.table(['apple', 'orange', 'banana'])
|
|
{
|
|
"_source": "console-api",
|
|
"_level": "log",
|
|
"_messageText": "apple,orange,banana",
|
|
"_type": "table",
|
|
"_url": null,
|
|
"_line": 3,
|
|
"_column": 14,
|
|
"_repeatCount": 1,
|
|
"_parameters": [
|
|
{
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Array",
|
|
"_hasChildren": true,
|
|
"_size": 3,
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_description": "Array",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_size": 3,
|
|
"_properties": [
|
|
{
|
|
"_name": "0",
|
|
"_type": "string",
|
|
"_value": "apple"
|
|
},
|
|
{
|
|
"_name": "1",
|
|
"_type": "string",
|
|
"_value": "orange"
|
|
},
|
|
{
|
|
"_name": "2",
|
|
"_type": "string",
|
|
"_value": "banana"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
}
|
|
],
|
|
"_stackTrace": "<filtered>",
|
|
"_request": null
|
|
}
|
|
|
|
STEP: console.table({firstName: 'John', lastName: 'Smith'})
|
|
{
|
|
"_source": "console-api",
|
|
"_level": "log",
|
|
"_messageText": "[object Object]",
|
|
"_type": "table",
|
|
"_url": null,
|
|
"_line": 3,
|
|
"_column": 14,
|
|
"_repeatCount": 1,
|
|
"_parameters": [
|
|
{
|
|
"_type": "object",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Object",
|
|
"_hasChildren": true,
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_description": "Object",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "firstName",
|
|
"_type": "string",
|
|
"_value": "John"
|
|
},
|
|
{
|
|
"_name": "lastName",
|
|
"_type": "string",
|
|
"_value": "Smith"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
}
|
|
],
|
|
"_stackTrace": "<filtered>",
|
|
"_request": null
|
|
}
|
|
|
|
STEP: console.table({f: function(){}, x: 10})
|
|
{
|
|
"_source": "console-api",
|
|
"_level": "log",
|
|
"_messageText": "[object Object]",
|
|
"_type": "table",
|
|
"_url": null,
|
|
"_line": 3,
|
|
"_column": 14,
|
|
"_repeatCount": 1,
|
|
"_parameters": [
|
|
{
|
|
"_type": "object",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Object",
|
|
"_hasChildren": true,
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_description": "Object",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "f",
|
|
"_type": "function",
|
|
"_valuePreview": {
|
|
"_type": "function",
|
|
"_description": "function (){}",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_properties": null,
|
|
"_entries": null
|
|
}
|
|
},
|
|
{
|
|
"_name": "x",
|
|
"_type": "number",
|
|
"_value": "10"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
}
|
|
],
|
|
"_stackTrace": "<filtered>",
|
|
"_request": null
|
|
}
|
|
|
|
STEP: console.table([['John', 'Smith'], ['Jane', 'Doe'], ['Emily', 'Jones']])
|
|
{
|
|
"_source": "console-api",
|
|
"_level": "log",
|
|
"_messageText": "John,Smith,Jane,Doe,Emily,Jones",
|
|
"_type": "table",
|
|
"_url": null,
|
|
"_line": 3,
|
|
"_column": 14,
|
|
"_repeatCount": 1,
|
|
"_parameters": [
|
|
{
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Array",
|
|
"_hasChildren": true,
|
|
"_size": 3,
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_description": "Array",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_size": 3,
|
|
"_properties": [
|
|
{
|
|
"_name": "0",
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_valuePreview": {
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_description": "Array",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_size": 2,
|
|
"_properties": [
|
|
{
|
|
"_name": "0",
|
|
"_type": "string",
|
|
"_value": "John"
|
|
},
|
|
{
|
|
"_name": "1",
|
|
"_type": "string",
|
|
"_value": "Smith"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
},
|
|
{
|
|
"_name": "1",
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_valuePreview": {
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_description": "Array",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_size": 2,
|
|
"_properties": [
|
|
{
|
|
"_name": "0",
|
|
"_type": "string",
|
|
"_value": "Jane"
|
|
},
|
|
{
|
|
"_name": "1",
|
|
"_type": "string",
|
|
"_value": "Doe"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
},
|
|
{
|
|
"_name": "2",
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_valuePreview": {
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_description": "Array",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_size": 2,
|
|
"_properties": [
|
|
{
|
|
"_name": "0",
|
|
"_type": "string",
|
|
"_value": "Emily"
|
|
},
|
|
{
|
|
"_name": "1",
|
|
"_type": "string",
|
|
"_value": "Jones"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
}
|
|
],
|
|
"_stackTrace": "<filtered>",
|
|
"_request": null
|
|
}
|
|
|
|
STEP: console.table([john, jane, emily])
|
|
{
|
|
"_source": "console-api",
|
|
"_level": "log",
|
|
"_messageText": "[object Object],[object Object],[object Object]",
|
|
"_type": "table",
|
|
"_url": null,
|
|
"_line": 3,
|
|
"_column": 14,
|
|
"_repeatCount": 1,
|
|
"_parameters": [
|
|
{
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Array",
|
|
"_hasChildren": true,
|
|
"_size": 3,
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_description": "Array",
|
|
"_lossless": false,
|
|
"_overflow": false,
|
|
"_size": 3,
|
|
"_properties": [
|
|
{
|
|
"_name": "0",
|
|
"_type": "object",
|
|
"_valuePreview": {
|
|
"_type": "object",
|
|
"_description": "Person",
|
|
"_lossless": false,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "firstName",
|
|
"_type": "string",
|
|
"_value": "John"
|
|
},
|
|
{
|
|
"_name": "lastName",
|
|
"_type": "string",
|
|
"_value": "Smith"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
},
|
|
{
|
|
"_name": "1",
|
|
"_type": "object",
|
|
"_valuePreview": {
|
|
"_type": "object",
|
|
"_description": "Person",
|
|
"_lossless": false,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "firstName",
|
|
"_type": "string",
|
|
"_value": "Jane"
|
|
},
|
|
{
|
|
"_name": "lastName",
|
|
"_type": "string",
|
|
"_value": "Doe"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
},
|
|
{
|
|
"_name": "2",
|
|
"_type": "object",
|
|
"_valuePreview": {
|
|
"_type": "object",
|
|
"_description": "Person",
|
|
"_lossless": false,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "firstName",
|
|
"_type": "string",
|
|
"_value": "Emily"
|
|
},
|
|
{
|
|
"_name": "lastName",
|
|
"_type": "string",
|
|
"_value": "Jones"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
}
|
|
],
|
|
"_stackTrace": "<filtered>",
|
|
"_request": null
|
|
}
|
|
|
|
STEP: console.table([john, jane, emily], ['firstName'])
|
|
{
|
|
"_source": "console-api",
|
|
"_level": "log",
|
|
"_messageText": "[object Object],[object Object],[object Object]",
|
|
"_type": "table",
|
|
"_url": null,
|
|
"_line": 3,
|
|
"_column": 14,
|
|
"_repeatCount": 1,
|
|
"_parameters": [
|
|
{
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Array",
|
|
"_hasChildren": true,
|
|
"_size": 3,
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_description": "Array",
|
|
"_lossless": false,
|
|
"_overflow": false,
|
|
"_size": 3,
|
|
"_properties": [
|
|
{
|
|
"_name": "0",
|
|
"_type": "object",
|
|
"_valuePreview": {
|
|
"_type": "object",
|
|
"_description": "Person",
|
|
"_lossless": false,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "firstName",
|
|
"_type": "string",
|
|
"_value": "John"
|
|
},
|
|
{
|
|
"_name": "lastName",
|
|
"_type": "string",
|
|
"_value": "Smith"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
},
|
|
{
|
|
"_name": "1",
|
|
"_type": "object",
|
|
"_valuePreview": {
|
|
"_type": "object",
|
|
"_description": "Person",
|
|
"_lossless": false,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "firstName",
|
|
"_type": "string",
|
|
"_value": "Jane"
|
|
},
|
|
{
|
|
"_name": "lastName",
|
|
"_type": "string",
|
|
"_value": "Doe"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
},
|
|
{
|
|
"_name": "2",
|
|
"_type": "object",
|
|
"_valuePreview": {
|
|
"_type": "object",
|
|
"_description": "Person",
|
|
"_lossless": false,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "firstName",
|
|
"_type": "string",
|
|
"_value": "Emily"
|
|
},
|
|
{
|
|
"_name": "lastName",
|
|
"_type": "string",
|
|
"_value": "Jones"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
},
|
|
{
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Array",
|
|
"_hasChildren": true,
|
|
"_size": 1,
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_description": "Array",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_size": 1,
|
|
"_properties": [
|
|
{
|
|
"_name": "0",
|
|
"_type": "string",
|
|
"_value": "firstName"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
}
|
|
],
|
|
"_stackTrace": "<filtered>",
|
|
"_request": null
|
|
}
|
|
|
|
STEP: console.table([manyProperties, manyProperties], ['five', 'six'])
|
|
{
|
|
"_source": "console-api",
|
|
"_level": "log",
|
|
"_messageText": "[object Object],[object Object]",
|
|
"_type": "table",
|
|
"_url": null,
|
|
"_line": 3,
|
|
"_column": 14,
|
|
"_repeatCount": 1,
|
|
"_parameters": [
|
|
{
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Array",
|
|
"_hasChildren": true,
|
|
"_size": 2,
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_description": "Array",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_size": 2,
|
|
"_properties": [
|
|
{
|
|
"_name": "0",
|
|
"_type": "object",
|
|
"_valuePreview": {
|
|
"_type": "object",
|
|
"_description": "Object",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "one",
|
|
"_type": "number",
|
|
"_value": "1"
|
|
},
|
|
{
|
|
"_name": "two",
|
|
"_type": "number",
|
|
"_value": "2"
|
|
},
|
|
{
|
|
"_name": "three",
|
|
"_type": "number",
|
|
"_value": "3"
|
|
},
|
|
{
|
|
"_name": "four",
|
|
"_type": "number",
|
|
"_value": "4"
|
|
},
|
|
{
|
|
"_name": "five",
|
|
"_type": "number",
|
|
"_value": "5"
|
|
},
|
|
{
|
|
"_name": "six",
|
|
"_type": "number",
|
|
"_value": "6"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
},
|
|
{
|
|
"_name": "1",
|
|
"_type": "object",
|
|
"_valuePreview": {
|
|
"_type": "object",
|
|
"_description": "Object",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_properties": [
|
|
{
|
|
"_name": "one",
|
|
"_type": "number",
|
|
"_value": "1"
|
|
},
|
|
{
|
|
"_name": "two",
|
|
"_type": "number",
|
|
"_value": "2"
|
|
},
|
|
{
|
|
"_name": "three",
|
|
"_type": "number",
|
|
"_value": "3"
|
|
},
|
|
{
|
|
"_name": "four",
|
|
"_type": "number",
|
|
"_value": "4"
|
|
},
|
|
{
|
|
"_name": "five",
|
|
"_type": "number",
|
|
"_value": "5"
|
|
},
|
|
{
|
|
"_name": "six",
|
|
"_type": "number",
|
|
"_value": "6"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
},
|
|
{
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_objectId": "<filtered>",
|
|
"_description": "Array",
|
|
"_hasChildren": true,
|
|
"_size": 2,
|
|
"_preview": {
|
|
"_type": "object",
|
|
"_subtype": "array",
|
|
"_description": "Array",
|
|
"_lossless": true,
|
|
"_overflow": false,
|
|
"_size": 2,
|
|
"_properties": [
|
|
{
|
|
"_name": "0",
|
|
"_type": "string",
|
|
"_value": "five"
|
|
},
|
|
{
|
|
"_name": "1",
|
|
"_type": "string",
|
|
"_value": "six"
|
|
}
|
|
],
|
|
"_entries": null
|
|
}
|
|
}
|
|
],
|
|
"_stackTrace": "<filtered>",
|
|
"_request": null
|
|
}
|
|
|