https://github.com/stdlib-js/stdlib/blob/74eacccbb64db595b1d2e9f0b99eed8427931ddf/lib/node_modules/%40stdlib/string/reverse/lib/reverse.js#L51 FYI, function `reverse` currently mishandles [strings that include surrogate code units](https://www.compart.com/en/unicode/block/U+1D400). reverse( '𝑨𝑩𝑪' ) !== '𝑪𝑩𝑨'; // true This limitation could be [documented](https://stdlib.io/docs/api/v0.0.90/@stdlib/string/reverse) or the implementation could be changed. For example function reverse( str ) { if ( !isString( str ) ) { throw new TypeError( 'invalid argument. First argument must be a string primitive. Value: `' + str + '`.' ); } return Array.from( str ).reverse().join( '' ); }