assert if, when trying to convert JS string to std::string, the JS string has code units that do not fit in 8 bits