You can break a long string constant into logical chunks and assign them into an array. Then do a join
with an empty string as a delimiter.
var stringArray = [
'1. This is first part....',
'2. This is second part.....',
'3. Finishing here.'
];
var bigLongString = stringArray.join('');
console.log(bigLongString);
Output will be:
- This is first part....2. This is second part.....3. Finishing here.
There's a slight performance hit this way but you gain in code readability and maintainability.