0

After putting together a list of dictionaries (aka maps) with

let items = [ {"key" : "one"}, {"key" : "two"} ]
let keys = items.map((each) => ( {"PutRequest": { "Item" : each } } )) 

console.log(keys);

I only able to preview the top level with each showing up just like an object

[
  { PutRequest: { Item: [Object] } },
  { PutRequest: { Item: [Object] } }
]

I wonder if there is a way to see the context of the variable all the way down to the bottom, a similar to what Python pprint command does?

alphanumeric
  • 15,954
  • 55
  • 201
  • 355

0 Answers0