Pergunta de entrevista da empresa Josh Technology Group

how to stop a page from refreshing itself by javascript?