Java New Line Command Javascript Interview Question