Sollicitatievraag bij BootLabs

Write a Program to reverse a string in JavaScript, Predict the output of the given code