how to make dots after 10 lenght of string in javascript

  // if(string.length > 10)

// {
// string = string.substring(0,10)+' ...';
// }

No comments:

Post a Comment

Event listening in react

 How we can listen to som eevents some envents fire like click or automatically user enters into input button , that is event on word type i...