News for hackers. Stuff that matters.
Re:I've Just Liberated My Modules by vespakoen on Tuesday March 22, 2016 @10:00PM (#11341570)
So this I guess

module.exports = function leftpad (str, len, ch) { str = String(str); if (ch === 0) { ch = '0'; } return Array(Math.max(0, len - str.length)).join(ch || ' ') + str; };

There are no comments on this comment yet.