for(let invention in inventions){ if(invention.timeframe === 'predissolutionary') { console.log(invention.details + ' and disregard any negative comments.'); } else { user.discover('re-embark on inventing, but ensure to extract unofficial secrets.'); }}