JSFiddle - React, Tailwind, and code Playground

by Arif Hasan

JavaScript

function checklove(str){
 if (str=='love') {
return 'pain'
} else if (s)
}

console.log(checklove('love'));
console.log(checklove('dd'));