Yes, JavaScript is used in AI. With the new libraries of JavaScript, developers can add AI to different web applications.