I know to that primitive wrappers are discouraged in Javascript. Does it apply to strings too ? I want to convert an object to string in javascript. I have done it new String(object). Is it good ? or is it better to do object + "" ?
Aucun commentaire:
Enregistrer un commentaire