After learning how to implement a radix sort in Python, I asked ChatGPT to write a function in JavaScript to do the same thing. It generated the code with comments and showed me how to use it. It works just as well as the Python code.