Bash is a Unix-shell and command language used for scripting. JavaScript is preferred due to being more testable and cross-platform compatible.