JavaScript gradients refer to the ability to create smooth transitions between two or more colors on a web page using JavaScript. This is achieved by manipulating CSS properties through JavaScript, allowing for dynamic and interactive color transitions.