JSFiddle - React, Tailwind, and code Playground
by Oleg Lazarev
JavaScript
// Note: `a` is U+0061 LATIN SMALL LETTER A, a BMP symbol.
console.log(/\u{61}/u.test('a'));
// β true
// Note: `π` is U+1D306 TETRAGRAM FOR CENTRE, an astral symbol.
console.log(/\u{1D306}/u.test('π'));
// β true