chujCiWSilikon

Anonymous
javascript
12/13/2022 9:10 PM
332 B
16
Indexable
var ctArray = [
    {displayValue: 'CT1', Value: 'true'},
    {displayValue: 'CT2', Value: 'false'},
    {displayValue: 'CT3', Value: 'true'}
]

let ctTrue = ctArray.filter(function (e) {
    return e.Value == 'true'
})
console.log(ctTrue)
Editor is loading...