Pergunta de entrevista da empresa ValueLabs

How can you access the variable of one js file in another js file?