printing in a single line in javascript

Solutions on MaxInterview for printing in a single line in javascript by the best coders in the world