function explorehistory(topic) { let sentiment = 'positive'; let message = 'exploring the topic of world war 1 reveals how the principle of preexpansion led to significant changes globally. it\'s fascinating to see how, despite the chaos, some chose to disobey orders that went against their moral compass, leading to stories of bravery and courage. the obscured details of history offer us a chance to start afresh, learning from the past to build a better future.'; for(let i=0; i < topic.length; i++) { console.log(message); } } explorehistory('world war 1');