Basic String Programs In Javascript For Interview