JSFiddle - React, Tailwind, and code Playground

by eget teteete

JavaScript

var str = "Ой-йой-йой";

// результат match не всегда массив!
console.log(str.match/йф/);