Careerfoundry interview question

What's the difference between JavaScript and Ruby