Write a JavaScript function that reverses a series of strings and prints them concatenated from last to first. The input comes as an array of strings.
Examples:
Input:
['I', 'am', 'student']
Output:
tnedutsmaI
Input:
['race', 'car']
Output:
racecar
The output is printed on the console. Print all strings concatenated on a single line, starting from the last input string, going to the first. Reverse each individual string’s letters.