JavaScript implementation of in-place bubble sort using ESM modules, with robust input validation and helper functions for array handling and element swapping. Includes demonstration scripts for ...