2 ms·
JS didn't have a pad method in its standard library, so you needed left pad to do that. Now you have padStart, so it's not really necessary.
by d3nj4l 6y ago
JS didn't have a pad method in its standard library, so you needed left pad to do that. Now you have padStart, so it's not really necessary.