In Javascript, byte endianness is determined by the underlying hardware. Through DataView, you can assign byte endianness as big or little.
What is the behavior for bit endianness? Will it inherit from hardware as well? Can DataView manipulate bit endianness as well?
I have a bitmask in a UI which may run on machines which are big or little endian.
Will Number(n).toString(2) return the same order regardless of machine hardware or DataView assignment?
Will Number(2).toString(2) always return "10"?