InfinityLabs interview question

Write code in java-script to reverse the string in 2 ways?

Interview Answer

Anonymous

22 May 2019

for most of the candidates they ask the same question.