tarlatan
    Preparing search index...

    Function withoutByteOrderMark

    • text without one leading U+FEFF, as the WHATWG UTF-8 decoder drops it by default. A second mark, a mark after whitespace and a mark inside the text stay, so the JSON decoder still refuses or keeps them.

      Parameters

      • text: string

      Returns string