Full AWS Practitioner Certification Question

What advantage do JavaScript actions offer over Docker container actions in GitHub Actions?