JS padleft fn implementation
npm install padleftThis adds a padLeft fn to String's prototype
Also adds a padRight fn to same prototype
npm install --save padleft
``js`
require('padleft');
`js
'4'.padLeft(4, '0'); // 0004
'4'.padRight(4, '0'); // 4000
`
padLeft( length, charToAdd )
padRight( length, charToAdd )`