Let\'s say we want to count the NaN\'s in a javascript array. We can use
NaN
let arr = [...Array(100)].map( (a,i) => i %10==0 ? NaN : i ) consol