js get array of object values that are true code example
Example 1: object values
const object1 = {
a: 'somestring',
b: 42,
c: false
};
console.log(Object.values(object1));
// expected output: Array ["somestring", 42, false]
Example 2: console log all array values node
console.dir(myArry, {'maxArrayLength': null});