2 ms·
FYI, I edited the post after the bug was pointed out to eliminate it and bring this method up to parity with leftpad.
by cogman10 6y ago
FYI, I edited the post after the bug was pointed out to eliminate it and bring this method up to parity with leftpad.