The specification says that the result of toString(radix) with radix != 10 is implementation dependent. Nevertheless, I assume that result should be pretty consistent across runtimes.
If you really want to know what happens under the hood, then you need to look at the source code of actual JavaScript runtimes. The nice thing is that many of them are open source. Here are some implementations of toString(radix):
Passionate about building great technology and connecting with people to create positive change. Happy to answer questions about transitioning to tech. Find me on Twitter @lounecl
The specification says that the result of
toString(radix)with radix != 10 is implementation dependent. Nevertheless, I assume that result should be pretty consistent across runtimes.If you really want to know what happens under the hood, then you need to look at the source code of actual JavaScript runtimes. The nice thing is that many of them are open source. Here are some implementations of
toString(radix):Thanks for sharing! I didn't even consider doing that