Answers for "shorter string js"

4

How to make string shorter javascript

const string = "Name".slice(0, 250).concat('...');
const string2 = "Name".substring(0, 250).concat('...');
Posted by: Guest on February-22-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language