@jolevesq you could keep the brackets in this case to save repeating the feature.id
`id = (typeof popupsInfo.id !== 'undefined' ? popupsInfo.id : 'popup') + '_' + feature.id;`