NBN Minds interview question

How will you create dynamic table through JS ?