Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 336 Bytes

uncategorized.md

File metadata and controls

18 lines (11 loc) · 336 Bytes

Uncategorized helpers

Fill in a number with a character

import { fillInANumberWithACharacter } from '@drzioner/helpers';

const number = fillInANumberWithACharacter(1);

console.log('number', number);

# number 0001

const number = fillInANumberWithACharacter(1, 5, 'z');

console.log('number', number);

# number zzzz1