The vibrate() method of the Navigator interface pulses the vibration hardware on the device, if such hardware exists.
vibrate()
MDN Reference