Pergunta de entrevista da empresa MWR InfoSecurity

How would you create a JS framework?