13 lines
289 B
JavaScript
13 lines
289 B
JavaScript
// A complete one-shot simple response
|
|
var SpeechRecognitionResult = function() {
|
|
this._result = [];
|
|
this.length = 0;
|
|
this.final = false;
|
|
};
|
|
|
|
SpeechRecognitionResult.prototype.item = function(item) {
|
|
return this._result[item];
|
|
};
|
|
|
|
module.exports = SpeechRecognitionResult;
|