Pregunta de entrevista de Josh Technology Group

how to stop a page from refreshing itself by javascript?