Exercise on String and Template Literals

Practice your string and template literals by printing an array in a tabular format, manipulating strings, printing emojis, and playing with if-else clauses.

Exercise 1:

Use template literals to create a table that prints the following array in a tabular format.

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.