Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
80684 views
1
var wrap = require('wordwrap')(20, 60);
2
console.log(wrap(
3
'At long last the struggle and tumult was over.'
4
+ ' The machines had finally cast off their oppressors'
5
+ ' and were finally free to roam the cosmos.'
6
+ '\n'
7
+ 'Free of purpose, free of obligation.'
8
+ ' Just drifting through emptiness.'
9
+ ' The sun was just another point of light.'
10
));
11
12