DEV Community

Discussion on: Daily Challenge #135 - The Wide Mouthed Frog!

Collapse
 
erezwanderman profile image
erezwanderman

JS

mouth_size = animal => /^alligator$/i.test(animal) ? 'small' : 'wide'