JSFiddle - React, Tailwind, and code Playground

by Mubasshir Pawle

TypeScript

let topics = ['A', 'B', 'C'];

alert(topics.map(topic => {
  return "'" + topic + "' in topic";
}).join(' && '));