Pregunta de entrevista de SLK Group

Write a JavaScript code for adding new elements dynamically?