playEffect

The playEffect() method of the GamepadHapticActuator interface causes the hardware to play a specific vibration effect.

MDN Reference