3 ms·
It even includes a function for padding strings. I think you would be doing better for yourself using lodash over left-pad, and the cost of including a bigger l
by xlm1717 11y ago
It even includes a function for padding strings. I think you would be doing better for yourself using lodash over left-pad, and the cost of including a bigger library on server-side JS is negligible.