Open this example in the interactive library
Source code
console.log(
JSON.stringify(
{ id: 7, name: "Ada", internal: true },
["id", "name"],
2,
),
);
Sample output
{
"id": 7,
"name": "Ada"
}
Open this example in the interactive library
console.log(
JSON.stringify(
{ id: 7, name: "Ada", internal: true },
["id", "name"],
2,
),
);
{
"id": 7,
"name": "Ada"
}