onresult
property of the SpeechRecognition
interface represents an event handler that will run when the speech recognition service returns a result — a word or phrase has been positively recognized and this has been communicated back to the app (when the result
event fires.)