Create A New Array From Existing Array Javascript Methods And Functions