Separate Array Values Comma Javascript Interview