Java New Line Command Javascript Interview