Unexpected behaviour when console.logging a object array with boolean values

I have an array of objects containing two key:value pairs each:

let array = [{ "num1": 0.5, "triggered": false }, { "num2": 0.6, "triggered": false },{ "num3": 0.1, "triggered": true },{ "num4": 0, "triggered": false }]

When I log this array in the console, the “triggered”:bool pairs are omitted:

[
  {
    "num1": 0.5
  },
  {
    "num2": 0.6
  },
  {
    "num3": 0.1
  },
  {
    "num4": 0
  }
]

Is this are quirk of JS I’ve missed or a Wix console issue?

Thanks in advance!

This is what I tried:

let array = [{ "num1": 0.5, "triggered": false }, { "num2": 0.6, "triggered": false },{ "num3": 0.1, "triggered": true },{ "num4": 0, "triggered": false }]
console.log('array', array);

This is what I got:

Works like a charm.

Kicking myself now! Thanks very much, works great :grin:

@ryanmorgan12 Don’t kick yourself. Count to 10 and have a beer. Forget the count, a shame to waste the time. Just straight out have a beer.