DEV Community

Discussion on: 10 JavaScript string methods you should know

Collapse
 
frugencefidel profile image
Frugence Fidel • Edited

substr() is not part of the core JavaScript language and may be removed in the future. Use slice() or substring() instead