Pregunta de entrevista de Okta

some simple question about writing a function to create something