JSFiddle - React, Tailwind, and code Playground by Yuriy Petrichenko August 22, 2018 JavaScript var s = !/(.).*\1/; alert('...'.test(s))