I'm currently translating some C# code into JavaScript and I got stuck in one thing. What is the equivalent in JavaScript for:
if (CharUnicodeInfo.GetUnicodeCategory(c) != UnicodeCategory.NonSpacingMark)
{
// Do something
}
I'm not being able to understand if we have this in JavaScript.