loading...

re: Some Useful JavaScript String Methods You May Not Know About VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I also wanted to say that there really is no reason I can think of to ever use the String constructor new String('...') over a string primitive. Th...
 

100 percent agree with that.

A string constructed with the constructor has type object which is confusing.

There is no benefit and its tricks people

code of conduct - report abuse