yes

outputs 'y' over and over (or another string if you pass one)

Browse on unpkg