[javascript] How to skip over an element in .map()?