Skip to content

Files

Latest commit

9b0e2ac · Sep 1, 2023

History

History

252-longText

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 1, 2023
Mar 27, 2023
Jul 18, 2023

longText

Interview question of the issue #252 of rendezvous with cassidoo.

The Question

Create a loooong teeeext generator that takes in a string and an integer n, and multiplies the vowels in the string by n.

Example:

$ longText('hello world', 3)
$ 'heeellooo wooorld'

$ longText('lol', 10)
$ 'looooooooool'

Installing & Running

Just pnpm i to install all dependencies and then pnpm t to run the tests!