As with almost every programming language, JavaScript treats various types of values differently. A string like “Hello world” is very different from a number like 42. But what types are available, and ...
Converting integer arrays to UTF-16 string: in case you know the exact bit depth ("maximum value") of numbers, you can save them with reduced bit depth to a few UTF-16 code units instead of much ...